Python3 - <urlopen error [SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:997)>
by Turbocapitalist from LinuxQuestions.org on (#6CQB8)
I am getting the following error,
Code:<urlopen error [SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:997)>with the following script,
Code:#!/usr/bin/python3
import urllib.request
url = 'http://www.imy.se/en/news/rss/'
try:
with urllib.request.urlopen(url) as response:
try:
print("Fetch succeeded")
except:
print("Fetch failed")
except urllib.request.URLError as e:
print(e)
exit(1)I'm not so familiar with TLS. Is the problem on the server side? If so, is there a relevant CVE to point the webmaster to?
Code:<urlopen error [SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:997)>with the following script,
Code:#!/usr/bin/python3
import urllib.request
url = 'http://www.imy.se/en/news/rss/'
try:
with urllib.request.urlopen(url) as response:
try:
print("Fetch succeeded")
except:
print("Fetch failed")
except urllib.request.URLError as e:
print(e)
exit(1)I'm not so familiar with TLS. Is the problem on the server side? If so, is there a relevant CVE to point the webmaster to?