Answer the question
In order to leave comments, you need to log in
How to create your own ssl certificate and make chrome trust it?
Hello.
You need to raise ssl for tests on your machine.
Everything seems to work out and nginx ate the generated ssl in this way:
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout nginx.key -out nginx.crt
openssl pkcs12 -export -out nginx.p12 -in nginx.crt -inkey nginx.key
Answer the question
In order to leave comments, you need to log in
You can trust the key by going to https://mysite.dev and adding it to trusted (If you open the site via https and chrome does not issue warnings, then the certificate is trusted). However, chrome will mark it in red - since you gave it to yourself.
You are adding it to the wrong repository. You need to add it to the "Trusted Root Centers" - you are your own CA.
Everything is just a self-signed certificate will never be trusted. Well, you signed it yourself;) gygy
This is how you should do it
https://habrahabr.ru/post/318952/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question