Self signed certificate is not appearing in Chrome after importing
Matthew Martinez
I have a Synology NAS that creates a self signed certificate for SSL access.
I'm using the latest Chrome on Windows 7.
Upon visiting the NAS's landing page, Chrome presents a red warning to say that "Server's certificate is not trusted". This is what I did to try to resolve it to no avail:
- Click on the lock
- Click on Certificate Information
- Click Details tab
- Click Copy to file... which saves the certificate locally. (I tried this with all the export option presented here - X.509, #PK7)
- Double clicked on the file then click Install Certificate
- Ensured that it is installed in the "Trusted Root Certification Authority" section
- Type "certmgr.msc" in Start menu to confirm that the certificate has been installed correctly
- Restarted Chrome
- Visit NAS landing page... Low and behold, same bloody thing.
- Go to Chrome settings > Advanced settings > Manage Certificates, to find that the certificate is not listed or recognised by chrome, even though it is stored correctly by windows.
- Tried importing to chrome using the import button in the Chrome settings. Still no luck.
Can anyone confirm that this is normal behaviour? If not, please advise how this can be solved?
62 Answers
Thanks to all the comments so far. After some tweaking around I stumbled upon this which was very helpful to me:
The NAS actually creates 2 types of certificates, one for the website, and one for the root authority.
It first tries to identify the website's certificate. Upon inspection it sees that the certificate has been issued by a particular Certification Authority. You can't simply install the website's certifcate. You need to actually install the CA's certificate generated by the NAS.
Upon doing this I closed Chrome using the X button. That didn't work. I did this a couple more times, and then I used the chrome "Exit" menu. This worked! So lesson learned... X does not necessarily restart Chrome.
This is now resolved!
Just a few words hoping it could help someone else
I just got it working. Synology NAS, DSM 6, self signed cert and a green padlock in chrome. Win 10, Chrome and everything I can think about updated as of today may 19.
What I did this time around (I've been trying getting this to work before with no luck) was the following.
Generated a new cert in DSM. Be sure to enter "XXXXXX.synology.me" (or whatever DDNS you're using) as common name for the Cert - not the root cert. )Root cert common name can be 'NAS' or something)
When finished, Syno web server restarted. Then I exported the certificate, extracted the files on my desktop and, with crome still up...
windows key + r, type mmc, add-in cert snap in. Here I cleared all my previous attempts at getting this to work.
Imported "syno-ca-cert.pem" into trusted root auth. Imported "cert.pem", first into 'auto select depending on type' and again for good meassure into trusted root auth, although this is probably of no real use.
tabbed back to the chrome window and hit my bookmark for 'XXXXXX.synology.me' and got the lovely green padlock
went here and wrote about it
I hope this can help someone else /hug
1