ID 238647 - SSL and urllib2 errors when looking for an expired link

Follow

Problem summary
SSL and urllib2 produce an error when looking for an expired link

urllib2.URLError: <urlopen error [Errno 1] _ssl.c:504: error:1411809D:SSL routines:SSL_CHECK_SERVERHELLO_TLSEXT:tls invalid ecpointformat list> 
Steps to reproduce

1) Open Nuke

2) Copy and paste the below code, it will produce the error:
import urllib2
import ssl
url = "https://sg-media-usor-01.s3.amazonaws.com/b6b63f333634f5eeb035943b6b72d45eb7bb0c69/471d52e6aea3d9c32e7b2dc6c0c489a506db0274/tanktmpvl1v1s.png?AWSAccessKeyId=AKIAIFHY52V77FIVWKLQ&Expires=1475166548&Signature=mxPGqSHAGzMb39r3hwVaf5xfLT4%3D&response-content-disposition=filename%3D%22tanktmpvl1v1s.png%22"
response = urllib2.urlopen(url)
print response

Reproduced by support
This problem has been reproduced on:
Nuke 10.0v4 - Windows 10 - CentOS 6.8
Nuke 10.0v1 - Windows 10
Nuke 9.0v9 - Windows 10
Nuke 9.0v1 - Windows 10
Nuke 8.0v6 - Windows 10 - CentOS 6.8

Expected behaviour
For the error `HTTP Error 403: Forbidden` to be returned

Actual behaviour
the error: urllib2.URLError: <urlopen error [Errno 1] _ssl.c:504: error:1411809D:SSL routines:SSL_CHECK_SERVERHELLO_TLSEXT:tls invalid ecpointformat list> was returned

    We're sorry to hear that

    Please tell us why