Reputation: 4950
I am adding a new certificate to Chrome by going to Settings/Advanced/Manage Certificates. That works fine. When I navigate to https://somelocalweb/apiendpoint first I have to select Advanced/Proceed, then I am presented with a list of certificates that does not have the one I just added. Am I doing something wrong while adding a certificate so it does not make into the list? Hope, someone can help.
Thanks.
Upvotes: -1
Views: 1067
Reputation: 2772
The webserver must be served with a private key and a certificate.
In the certificate under the Subject Alternative Name (SAN) field, your domain must be there before starting the webserver.
Subject Alternative Name
DNS Name=somelocalweb
Tip:
- For local usage of https, create an self-signed CA (Certificate Authority).
- Then register it on your system
- Generate local certificates (and private key) using the self-signed CA from 1. as issuer, and add your domains in the SAN field.
- Google on how to load the certificate and key on your webserver.
NOTE: Chrome requires certificates generated with Version V3
.
Upvotes: 2