Install SSL Certificate


#1

One of our tests hits a test server using the SSL cert: https://symantec.tbs-certificats.com/SymantecSSG4.crt

Is it possible to manually install this as part of circle.yml or another method? Otherwise, we receive SSL errors.


#2

For now, we’re setting ssl_verify_mode: none in test mode, which isn’t ideal, but works.


#3

You could just download this file during the build and then pass it to your application / test script / etc. The download can be done with something like this:

dependencies:
  pre:
    - curl -LO https://symantec.tbs-certificats.com/SymantecSSG4.crt

This will save the cert into the file called SymantecSSG4.crt in your project directory (current directory for all circle.yml commands).


#4