HsOpenSSL-x509-system-0.1.0.0: Use the system's native CA certificate store with HsOpenSSL

Safe HaskellNone
LanguageHaskell2010

OpenSSL.X509.SystemStore

Synopsis

Documentation

contextLoadSystemCerts :: SSLContext -> IO () Source

Add the certificates from the system-wide certificate store to the given openssl context. Note that this does not automatically enable peer certificate verification. You need to also call contextSetVerificationMode for that.