Skip to main content

All Questions

0 votes
1 answer
227 views

Is It possible convert PKCS7 to PkiPath with OpenSSL?

I'm trying to translate a code written in clojure to openssl (I want to use this instead of clojure), but I came across the following line of code: (def cert-path-encoded (.getEncoded cert-path "...
Thales 's user avatar
  • 592
0 votes
1 answer
1k views

“CA MD TOO WEAK” when pip-installing from local server with Python 3.10

Starting with Python 3.10, I get “CA MD TOO WEAK” when I try to “pip install” any Python package. Is it because my local Python package index is on a server that has weak certificates? Background We ...
circlepi314's user avatar
  • 1,069
0 votes
0 answers
824 views

How do I create a csr and certificate?

I'm doing a project where I have to generate a digital certificate and then add that certificate to pdf files. The key pair generation process is done on a mobile (written in with flutter) and I (...
C. Nutchanon's user avatar
0 votes
1 answer
421 views

Find a json/dict of the client certificate from a HTTPS request

I'm having a client certificate - server certificate for a Flask endpoint i'm building. Currently the HTTPS requests can go though, and I can print the details of the client certificate on the server ...
Daniel Qiao's user avatar
1 vote
0 answers
45 views

How to handle certificates in case of the OpenSSLerror in Python (Windows 10)?

I am new here and new on python scripting with the following problem and hope somebody can help me somehow. I made a script in Python for parsing an internal corporate link where is stored a JSON file ...
Roman's user avatar
  • 11
1 vote
0 answers
791 views

How to get hold of a private key from certificate stored in windows cert store?

I'm using pyhtons requests lib for communication. Now i want to add client side certificates as described here: https://requests.readthedocs.io/en/master/user/advanced/#client-side-certificates This ...
sewe's user avatar
  • 73
1 vote
3 answers
4k views

Convert pem to pfx cert type using a python library

I am still very new when it comes to python and I need a way to convert .pem certificate to a .pfx type. I found that there is an OpenSSL library for python and looked at the documentation but I did ...
Michael Landeros's user avatar
0 votes
1 answer
326 views

How to check if Certificate from Certificate Log (Not on PC) is revoked using Python?

I have DB with certs from CTL (using 'certstream' utility). Example of one certificate data: { "all_domains" : [ "benesseresalus.com", "benesseresalus.it", "dimagriresalus.com", "...
jonb's user avatar
  • 875
2 votes
0 answers
598 views

mac error 20 at 0 depth lookup:unable to get local issuer certificate

I'm writing a python program to communicate with Qlik sense server via Websocket. Connection happens through certificates. When I try to connect I get a error message saying "unable to get local ...
Dushan's user avatar
  • 71
1 vote
1 answer
758 views

Getting ERROR while uploading certificate of .pfx format

I have a certificate called "MyCert.pfx" with some passphrase say "buggy" and 2 different working server S1 and S2. With S1 uploading and usage of this cert is absolutely fine but While uploading this ...
Goutam's user avatar
  • 969
0 votes
1 answer
3k views

how to find self signed certificate

I'm confused about website certificate verification. Please see details below: Connection to the website(www.bitstamp.net) with python urllib2 threw: urllib2.URLError: <urlopen error [SSL: ...
Lightning Mcqueen's user avatar
3 votes
1 answer
2k views

Requests with certifi receives CERTIFICATE_VERIFY_FAILED

I'm experiencing some weird behavior with requests and certifi, and am not entirely sure if/how they're interacting with my system's CA bundle, and how they should be. Locally (ubuntu 16.04), inside ...
Robert Townley's user avatar
2 votes
0 answers
574 views

Revocate a CA certificate with OpenSSL

Python newbie here! As the title implies it, I am looking for a way to revoke a CA certificate from its serial number. I would like to achieve this by using pyopenssl's library (OpenSSL.crypto). ...
The Drummer from Kubuntu's user avatar
4 votes
1 answer
23k views

OpenSSL crypto error: [('PEM routines', 'PEM_read_bio', 'no start line')]

I am getting the following error when trying to read a certificate: OpenSSL.crypto.Error: [('PEM routines', 'PEM_read_bio', 'no start line')] when running OpenSSL.crypto.load_certificate(FILETYPE_PEM,...
The Drummer from Kubuntu's user avatar
1 vote
1 answer
688 views

Python - SSL Client/Server Certificate

I want to create a Client/Server architecture following the python documentation. This works well with my self-signed certificates in one pem file. (ca_root root_key ca_intermediate intermediate_key)...
jaiks's user avatar
  • 526

15 30 50 per page