I get a "SSL Certificate Error prevented the license server from being reached" Message during Licensing

Some Mari Python distributions ship with Out of Date SSL Certificates.

This problem has been observed especially on Linux CentOS.


To rectify this do one of the following 



You can tell Mari to use the default system SSL Certificate instead of its own. 

To do that set an environment variable SSL_CERT_FILE by executing the command below in a shell before you launch Mari.

  • export SSL_CERT_FILE=Location of Certificate

Execute this either permanently by adding it to your environment or just when starting Mari.

Below is a list of common Certificate locations for different Linux Distributions

  • "/etc/ssl/certs/ca-certificates.crt",                  Debian/Ubuntu/Mint/Gentoo etc.
  • "/etc/pki/tls/certs/ca-bundle.crt",                    Fedora/RHEL 6
  • "/etc/ssl/ca-bundle.pem",                              OpenSUSE
  • "/etc/pki/tls/cacert.pem",                             OpenELEC
  • "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem",   CentOS/RHEL 7
  • "/etc/ssl/cert.pem",                                   Alpine Linux

So on Linux CentOS you would run 

  • export SSL_CERT_FILE=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem



You can disable the use of SSL during the Licensing by setting the Environment Variable


  • MARI_EP_NO_SSL


e.g  export MARI_EP_NO_SSL="1"



To disable the use of SSL for Python you can set the Environment Variable

  • PYTHONHTTPSVERIFY


e.g. export PYTHONHTTPSVERIFY="0"