I get a 'a SSL Certificate Error prevented the license server from being reached' Message during Licensing |
Some Mari Python distribution ship with Out of Date SSL Certificates. To rectify this do one of the following
1) Overwrite default Python SSL Certificate
To do that set an environment variable:
- export SSL_CERT_FILE=LOCATION OF FILE
either permanently or just when starting Mari.
On Linux CentOS the most common Location for your SSL Certificate is
- export SSL_CERT_FILE=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
2) Disable SSL check for Python Calls
To do that set an environment variable:
- export PYTHONHTTPSVERIFY=0
either permanently or just when starting Mari.
3) Update your System SSL Certificates
If none of the above work,
Go to a https:// address in a browser.
Click on the 'lock' icon next to the address in the browser.
Most likely on some https:// addresses it will state 'Certificate invalid' instead of 'valid'
Click on the Certificate and you should have the option to save or 'copy to file'.
Save the certificate on linux to /etc/ssl/certs/
then use method 1) to supply the new SSL Certificate to Mari.