Using Secure HTTPS (SSL) URLs in SAS on Linux

Out of the box SAS 9.4 is not configured to use SSL on Linux x64. If you try to do this, you’ll get the error

ERROR: SSL Error: Missing CA trust list

This happens because when SAS gets the SSL certificate from the server, it sees that it’s signed by a Certificate Authority, but it doesn’t have the SSL certificates from those authorities. Those come with OpenSSL, so get that.

sudo apt-get install openssl

With that installed, the SSL certificates should be in /etc/ssl/certs, with ca-certificates.crt being an uber-cert that contains all of the other files in one file. To tell SAS to look at that file, add this to SASHOME/SASFoundation/9.4/sasv9_local.cfg:


You’ll probably need sudo to modify that file, but you probably had that if you installed OpenSSL. But maybe your admin installed OpenSSL before, but never configured SAS, and is afraid to globally fix this by editing a file in the SAS directory? You can put that config option in ~/sasv9.cfg instead, creating the file if it doesn’t exist. That will only work for you, though, and other users on the system also have to do it.

NOTE: This was tested on Ubuntu Linux x64 13.10. The location of the cert file will probably differ from distro to distro and version to version. Just look for the SSL CA cert directory, and find the biggest file in it, that’s probably the uber-cert.


  • Posted March 7, 2014 at 4:53 pm | Permalink

    Thank you Philihp! This is exactly the info I needed.

  • Gabriel Dias de Souza
    Posted July 21, 2016 at 6:13 pm | Permalink

    Thanks Phil.

    I’m using centos 7, and i have installed using the command yum install openssl.
    By the time to point to certificate, i used the option in the code, like:
    options SSLCALISTLOC=”/etc/pki/tls/certs/ca-bundle.crt”;
    (the path is a little bit different)
    It’s was the second time that i’ve found something great in your blog(the first one I was trying to install SAS in a Ubuntu Distro).
    Thanks a lot and God bless you and SAS Users lol.

    • Philihp
      Posted October 3, 2016 at 8:16 am | Permalink

      I’m glad you were able to figure it out. I no longer have access to SAS Software, so I’m unable to keep my SAS posts up to date.

Post a Comment

Your email is kept private. Required fields are marked *