Errors with Self Signed SSL Cert

I’m trying to test my DF app with a self signed SSL cert. I added it following the bitnami docs and it appeared to be working for MOST of the REST calls.

However some calls (like registering a new user) cause DF to return an error:
{“error”:{“context”:null,“message”:"[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)",“code”:500

I’ve searched every where on how to just tell DF (or maybe PHP) to ignore the self signed cert, but have had no luck.

One interesting thing about this error is that the my POST to the REST API actually succeeds (preprocess script and process run, post-process does not run), despite this error. That seems like a possible security issue.

How can I make DF ignore the self signed cert?

After thinking about this more, I’m assuming DF is using curl, which is the source of the error? How can I add my certificate to the keystore that curl uses? Everything I find online talks about adding command line switches to get around SSL issues with curl.

I gave up on the self-signed certificate and installed Lets Encrypt instead. Everything is now working.

1 Like