I’m building a web API using Python3 Flask.
At the moment, I’m trying to set up SSL connection with certbot generated certificate.
The problem is that the uWSGI doesn’t seem to recognize the private key generated (privkey.pem).
I tried manually generating certificate using OpenSSL and it runs alright, even though whatever client tries to access would mind the unverified credential.
I noticed that while the key I generated manually has “RSA PRIVATE KEY” on its header, the one generated by certbot only has “PRIVATE KEY”.
How can I make this work?
I’m running an up-to-date Debian 10 system. Once again, the web server is on a standalone uWSGI instance, running Python3 Flask application.
Thank you in advance.