fix SSLContext when SSL certs are added