certificate

Python Requests: .pem -> .crt + key

这一生的挚爱 提交于 2020-01-21 08:31:24
问题 I've been given a .pem file for authentication on an XML POST API. I would prefer using Python Requests and have found in the documentation that I need to convert the .pem file to a server certification and key. I have been unable to find exactly what Requests needs (what kind of certification). I've had to do some openssl conversions on files before, but I'm no expert. Can anyone explain what kind of certificate and key is needed by Requests and how I can convert a .pem into those files? For

SSL HTTS requests.exceptions.SSLError: HTTPSConnectionPool(host='google.com', port=443)

非 Y 不嫁゛ 提交于 2020-01-21 04:39:07
问题 I don't know why every https request returns this erros import requests requests.get('https://google.com') requests.exceptions.SSLError: HTTPSConnectionPool(host='google.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)) Even in Isomnia give me an error related with certificates My os is Windows 7 Professional. 回答1: requests.get('https://google.com', verify='/path/to/certfile') or you

Installing a certificate in a .MSI Custom Action doesn't work properly

故事扮演 提交于 2020-01-21 01:59:37
问题 I'm trying to install a certificate in the Local Machine Store in a custom action. The certificate is installed, but when I use it to query AWS, I get this error: Object contains only the public half of a key pair. A private key must also be provided. The installer is running elevated , the target is Windows Vista. If I use a separate .exe to install the exact same certificate, using the exact same code, it works. So what is it that differs when installing a certificate using the Windows

SSL certificate generated with OpenSSL not working on NSS

☆樱花仙子☆ 提交于 2020-01-20 06:03:59
问题 I have SSL certificate ( key.pem, cacert.pem, pcert.pem ) generated with OpenSSL on Linux Mint machine. Now I'm trying to move my application to another server where is installed Fedora 18 with NSS. cURL is returning this error: unable to load client key: -8178 (SEC_ERROR_BAD_KEY) I tested again and on my computer is working fine but on server not. I think it's because I used OpenSSL to generate certificates but on server is installed NSS. I can't find how to generate certificates with

SSL certificate generated with OpenSSL not working on NSS

拥有回忆 提交于 2020-01-20 06:03:34
问题 I have SSL certificate ( key.pem, cacert.pem, pcert.pem ) generated with OpenSSL on Linux Mint machine. Now I'm trying to move my application to another server where is installed Fedora 18 with NSS. cURL is returning this error: unable to load client key: -8178 (SEC_ERROR_BAD_KEY) I tested again and on my computer is working fine but on server not. I think it's because I used OpenSSL to generate certificates but on server is installed NSS. I can't find how to generate certificates with

ColdFusion CFHTTP I/O Exception: peer not authenticated - even after adding certs to Keystore

淺唱寂寞╮ 提交于 2020-01-20 05:59:24
问题 I'm currently working with a payment processor. I can browse to the payment URL from our server, so it's not a firewall issue, but when I try to use CFHTTP I get a I/O Exception: peer not authenticated. I've downloaded and installed their latest security cert into cacerts keystore and restarted CF and am still getting the same error. Not only have I installed the providers cert, but also the 2 other Verisign certificate authority certs in the certificate chain. The cert is one of the newer

How to force WCF client to send client certificate?

匆匆过客 提交于 2020-01-20 03:54:11
问题 I'm trying to access a publicly-hosted SOAP web service (not WCF) over https, and I'm getting an error that I've never seen before. First, here are the facts: This service requires client certificates. I have a certificate that is signed by the same CA as the server's certificate. I know that the URL is available, as I can hit it in Internet Explorer. IE brings up the "choose certificate" window, and if I pick it (and ignore the server-host-name-does-not-match-certificate error), it goes on

Snowflake Snowpro Certifiction [closed]

雨燕双飞 提交于 2020-01-17 14:46:10
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 9 days ago . I worked on Vertica, IBM IAS that are MPP databases. They are similar to Redshift; I've been reading Snowflake documentation lately. Can anyone suggest how to take Snowpro Certification without real time project experience? Snowflake conducts classroom/online training but they are

Snowflake Snowpro Certifiction [closed]

陌路散爱 提交于 2020-01-17 14:45:05
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 9 days ago . I worked on Vertica, IBM IAS that are MPP databases. They are similar to Redshift; I've been reading Snowflake documentation lately. Can anyone suggest how to take Snowpro Certification without real time project experience? Snowflake conducts classroom/online training but they are

Paypal development. encrypt transactions. php p12

走远了吗. 提交于 2020-01-17 01:25:08
问题 when i take a look at the paypal documentation, they say "Note that the PayPal SDK for PHP does not require SSL encryption". https://developer.paypal.com/docs/classic/api/apiCredentials/#encrypting-your-certificate Is the statement of this phrase, that i don't have to create a p12 certificate when working with php, but use the public_key.pem and paypal_public_key.pem ? If yes: Is it secure enough to create the encrypted form input elements without p12 certificate? If no: What do they mean? :-