Closed yongrenjie closed 1 year ago
We had lots of issues at Hack Week trying to get HTTPS requests to work.
A full list of steps that may be necessary to get it to work:
~/.opam
brew install openssl@3
opam install lwt_ssl
opam install cohttp-lwt-unix
and then it worked, but it's not obvious which of them (or combination thereof) were needed.
Would be nice to have another laptop on which it doesn't work so that we can test.
For now lwt_ssl has been added to package dependencies.
lwt_ssl
Seems to be stable enough.
We had lots of issues at Hack Week trying to get HTTPS requests to work.
A full list of steps that may be necessary to get it to work:
~/.opam
brew install openssl@3
. This did something to 'regenerate CA certificates' which may have been useful see https://github.com/Homebrew/homebrew-core/blob/64ecb97044995cfb904e094361c028cbf244fd8b/Formula/ca-certificates.rb. May need reinstalling if already installedopam install lwt_ssl
opam install cohttp-lwt-unix
(needs to be recompiled)and then it worked, but it's not obvious which of them (or combination thereof) were needed.
Would be nice to have another laptop on which it doesn't work so that we can test.