- Press
Win + Rto open the Run dialog. - Type
mmcand press Enter to open the Microsoft Management Console.
- Go to
File > Add/Remove Snap-in.... - Select
Certificatesfrom the list and clickAdd. - Choose
Computer account(to manage certificates for all users on this computer) orMy user account(to manage your user certificates), then clickNextandFinish.
- Expand the
Certificates (Local Computer)node. - Navigate to the
Trusted Root Certification Authorities > Certificatesfolder.
- Right-click on
CertificatesunderTrusted Root Certification Authorities. - Select
All Tasks > Import. - Follow the wizard to import your
apiserver.crtfile.
Note: You may need to reboot your computer for changes to take effect.
- Warning: This method is not secure for importing a self-signed certificate as a CA. Firefox expects a CA certificate to sign other certificates. Instead, import it directly for trusted sites only.
- Open Firefox and go to
Settings. - Scroll down to the
Privacy & Securitysection. - Under
Certificates, clickView Certificates. - In the Certificate Manager, click the
Serverstab. - Click
Add Exception. - In the Add Security Exception dialog, enter
https://localhost:8081and clickGet Certificate. - Confirm the security exception to trust this certificate.
- Open Chrome and navigate to
chrome://settings/certificates. - Go to the
Authoritiestab. - Click
Importand select yourapiserver.crtfile. - Check
Trust this certificate for identifying websites.
Run the following commands from the project directory:
docker exec -it webapi-container bash
curl -v https://localhost:8081/api/urls --insecure
curl -v http://localhost:8080/api/urlsSee what it curretly looks like:
Some files were encrypted using: git-crypt
One can generate their certificates, but if you are a registered collaborator, you can decrypt the file using
brew install git-crypt
git-crypt init