The cert and key still error when i bring them in python script: requests.post(url, payload=payload, cert=('ssl/certificate.crt','ssl/certificate.key')) It said: ssl failed _ssl1045 Would you mind helping me? Notes: - in generate cert and key python script, the ip address has been fullfiled with my ipv4 address. h_name: ca_server - I use Laragon as local server app - I have changed apache2 ssl to the cert file and key file.
Hi. Sorry for the late reply. I am back online and I will create a short in the next few days to answer your question. Thank you for your understanding.
Thank you so much for your video. I played around with the code and now I have a better understanding.
Hi. Sorry for the late reply. I am glad you found it useful. I am back online so if you need help, please let me know.
Where do you create or find a 'server_IP'?
The cert and key still error when i bring them in python script:
requests.post(url, payload=payload, cert=('ssl/certificate.crt','ssl/certificate.key'))
It said: ssl failed _ssl1045
Would you mind helping me?
Notes:
- in generate cert and key python script, the ip address has been fullfiled with my ipv4 address. h_name: ca_server
- I use Laragon as local server app
- I have changed apache2 ssl to the cert file and key file.
Hi. Sorry for the late reply. I am back online and I will create a short in the next few days to answer your question. Thank you for your understanding.
So can you share the code with us ?
github.com/pmahon2016/selfsigncerts
@@practicalpythonsolutions-b4478 Thank you man, really appreciate it. This really made my day :)