Open matsrietdijk opened 7 years ago
Unfortunately, I don't know. If you find the necessary functions in OpenSSL and could add them to HsOpenSSL I would be glad to accept a pull request and publish new HsOpenSSL version.
@matsrietdijk were you the person I saw asking about this on Freenode #haskell who I believe figured out how to add certificates to an SSL session?
@glguy no I haven't been on Freenode #haskell. If you find anything useful please let me know!
The problem I'm facing is that I would always like a package to check for a certain
cacert.pem
. However with the current implementation ofcontextSetCAFile
thecacert.pem
should always have a filepath on the server running the software, so I will have to ship the certificate with any release using this package. I would rather embed thecacert.pem
in the executable so I don't have to worry about it being available on the server as a file. Is this possible?