Reputation: 178094
About to attend a course and a requirement is a laptop with linux
or cygwin
Another is
cygwin requires https support to be installed
This is likely because I will need to use cUrl
to fetch https
pages
So I installed and updated cygwin
to latest, but cannot find anywhere how to "install https support"
UPDATE
export http_proxy=http://nameofyourproxy:xxxx/
export https_proxy=http://nameofyourproxy:xxxx/
where xxxx is the proxy port number
you need BOTH http and https if not you get
curl: (6) Couldn't resolve host 'www.google.com'
when you do
curl -L https://www.google.com
UPDATE 2
I needed to export https too of course and I needed to put the certs in the right place.
CAfile: /usr/ssl/certs/ca-bundle.crt
So I renamed the download to ca-bundle.crt and copied it to
<install path>cygwin\usr\ssl\certs
and that was it.
Upvotes: 2
Views: 6282
Reputation: 1113
Little late, but: If you're using cygwin, all you need to do is start the cygwin terminal as administrator, and then run:
update-ca-trust
This will fetch and store the certificates in the correct location.
Upvotes: 3
Reputation: 95612
It depends. You need to ask somebody for clarification.
If you're expected to run Apache on your laptop, you need a certificate. Search online for "configure Apache https". Here's one search result.
But if, for example, you're expected to use cURL to fetch pages using https, I think you just need to install some public keys. I don't think you need the most recent version of cURL, as the linked answer implies, but I could be wrong.
Upvotes: 3