accepting custom cert -failed

Showing results for 
Show  only  | Search instead for 
Did you mean: 

accepting custom cert -failed

L0 Member

Have followed this kb however under instance, it is still unable to test successfully when unchecking the trust all certification options under the integrated instance.


upon further checking, have noticed the following empty fields. Not sure if it is supposed to be this way or there are some steps performed wrongly.




L2 Linker

Did you add the server configuration key and restart the server? You can verify that the certificate file is being mounted in the container by enabling debug logs, running the /reset_containers command in the playroom (this will restart all of the docker containers on the XSOAR server), and then looking for the `docker run` commands in the server.log. You should see a line similar to this one


2022-07-18 13:21:37.0992 debug docker command: /usr/bin/docker run -i --rm --name demistoserver_pyexec-19aae628-2f7f-49b6-8e2b-48fb671e4688-demistopython1.3-alpine--13 --env HTTP_PROXY= --env http_proxy= --env HTTPS_PROXY= --env https_proxy= --log-driver json-file --log-opt max-size=2m -v /var/lib/demisto/python-ssl-certs.pem:/etc/custom-python-ssl/certs.pem:ro,z --env REQUESTS_CA_BUNDLE=/etc/custom-python-ssl/certs.pem --env SSL_CERT_FILE=/etc/custom-python-ssl/certs.pem -v /usr/local/demisto/res/ -v /var/lib/demisto/temp/script1815803324:/var/lib/demisto:Z -w /var/lib/demisto demisto/python:1.3-alpine python /tmp/pyrunner/ (source: /builds/GOPATH/src/


In this output we can see that the certificate file is being mounted into the container and the environment variables REQUEST_CA_BUNDLE and SSL_CERT_FILE being set with these options

-v /var/lib/demisto/python-ssl-certs.pem:/etc/custom-python-ssl/certs.pem:ro,z --env REQUESTS_CA_BUNDLE=/etc/custom-python-ssl/certs.pem --env SSL_CERT_FILE=/etc/custom-python-ssl/certs.pem

 Also, you should indeed see the environment variables configured when running the !CertificatesTroubleshoot command.




Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!