ssl

How do I resolve this RCurl error: “SSL certificate problem: certificate has expired”?

£可爱£侵袭症+ 提交于 2020-07-09 08:57:28
问题 I'm just trying to get a simple URL response below and I get the following error. The website is valid and I've been able to pull from it thousands of times in the past. jsonString <- getURL(full_url) Error in function (type, msg, asError = TRUE) : SSL certificate problem: certificate has expired Any ideas? I am running R 4.0.0 (I upgraded to see if that would fix the issue) and have the most up to date RCurl package. 回答1: I have been facing the same problem from the past few weeks. So if you

pip TLS/SSL, however the ssl module in Python is not available problem

点点圈 提交于 2020-07-09 04:18:28
问题 I have looked through other solutions on this site, as well as on github but problem persists. When I use pip3 to install something I get following error: ki@debian:~/Documents/python/HelloWorld$ /usr/local/bin/python3 -m pip install -U pep8 --user pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Collecting pep8 Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't

pip TLS/SSL, however the ssl module in Python is not available problem

流过昼夜 提交于 2020-07-09 04:17:36
问题 I have looked through other solutions on this site, as well as on github but problem persists. When I use pip3 to install something I get following error: ki@debian:~/Documents/python/HelloWorld$ /usr/local/bin/python3 -m pip install -U pep8 --user pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Collecting pep8 Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't

pip TLS/SSL, however the ssl module in Python is not available problem

余生长醉 提交于 2020-07-09 04:15:38
问题 I have looked through other solutions on this site, as well as on github but problem persists. When I use pip3 to install something I get following error: ki@debian:~/Documents/python/HelloWorld$ /usr/local/bin/python3 -m pip install -U pep8 --user pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Collecting pep8 Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't

Host name does not match the certificate subject provided by the peer, but it's a perfect match

廉价感情. 提交于 2020-07-08 12:59:32
问题 I have two servers that need to speak with each other using HTTPS. Let's call them 'server' and 'client' in this case where 'client is making an https call to 'server'. In production the server will have a valid CA certificate but while testing we will use a self-signed certificate. As I understand it this is what we have to do: create the certificate add it to the keystore on server add it to the trusted cacerts keystore on client (so that it will accept this self-signed cert when trying to

Create Certificate Signing Request inside an Android app

北城余情 提交于 2020-07-08 11:55:28
问题 I'm generating a SSL KeyPair in an Android app using the KeyStore API. I want to create a Certificate Signing Request (CSR) from the Public/Private key pair so that it can be sent to an external CA for signing. Is this possible? I'd like to use the builtin Android libraries rather than BouncyCastle if possible, in order have Android store the keys securely. 回答1: Certificate enrollment process Check this link. It generate key pair and CSR. Regarding generating a CSR (certificate sign request)

Create Certificate Signing Request inside an Android app

流过昼夜 提交于 2020-07-08 11:55:05
问题 I'm generating a SSL KeyPair in an Android app using the KeyStore API. I want to create a Certificate Signing Request (CSR) from the Public/Private key pair so that it can be sent to an external CA for signing. Is this possible? I'd like to use the builtin Android libraries rather than BouncyCastle if possible, in order have Android store the keys securely. 回答1: Certificate enrollment process Check this link. It generate key pair and CSR. Regarding generating a CSR (certificate sign request)

cURL says certificate is expired, Firefox disagrees

社会主义新天地 提交于 2020-07-08 08:10:52
问题 I'm trying to access an internal site via cURL (which I could access several days ago). However, cURL gives the error curl: (60) SSL certificate problem: certificate has expired . If I use openssl to check the start and end dates of the certificate, it gives a timeframe that I'm well within: echo | openssl s_client -connect internalsite.example.com:443 2>/dev/null | openssl x509 -noout -dates notBefore=Nov 30 00:00:00 2012 GMT notAfter=Mar 30 12:00:00 2016 GMT # For reference, the day I'm

cURL says certificate is expired, Firefox disagrees

不问归期 提交于 2020-07-08 08:08:26
问题 I'm trying to access an internal site via cURL (which I could access several days ago). However, cURL gives the error curl: (60) SSL certificate problem: certificate has expired . If I use openssl to check the start and end dates of the certificate, it gives a timeframe that I'm well within: echo | openssl s_client -connect internalsite.example.com:443 2>/dev/null | openssl x509 -noout -dates notBefore=Nov 30 00:00:00 2012 GMT notAfter=Mar 30 12:00:00 2016 GMT # For reference, the day I'm

Python 3 urllib ignore SSL certificate verification

丶灬走出姿态 提交于 2020-07-04 20:54:43
问题 I have a server setup for testing, with a self-signed certificate, and want to be able to test towards it. How do you ignore SSL verification in the Python 3 version of urlopen ? All information I found regarding this is regarding urllib2 or Python 2 in general. urllib in python 3 has changed from urllib2 : Python 2, urllib2 : urllib2.urlopen(url[, data[, timeout[, cafile[, capath[, cadefault[, context]]]]]) https://docs.python.org/2/library/urllib2.html#urllib2.urlopen Python 3 : urllib