I have a dedicated server with a wiki and want to secure it so nobody can read my articles by sniffing my pages.

I do not want to pay for a valid certificate so I created a self-signed certificate. But always when I access my page through HTTPS I get a SSL Error with the following message:

The site's security certificate is not trusted!

How can I manually add the certificate to my trusted certificates or prevent that message from showing?

This is my server and I trust the certificate as long as it does not change.


You can bring the certificate management interface from Options / Preferences > Under the hood > Manage Certificates.

| improve this answer | |
  • This will mostly just add it to the local users store, not to the system / computer store! You'll get the problem again and again for each user! How to add to System store in windows, have a look at superuser.com/questions/370217 – childno͡.de Oct 23 '14 at 11:00

Since Chrome v38 there is an experimental feature to autosave the certificates previously accepted.

See: chrome://flags/#remember-cert-error-decisions

| improve this answer | |

For OS X, to do it from the command line:

sudo security add-trusted-cert -p ssl -d -r trustRoot -k ~/Library/Keychains/login.keychain selfsigned.crt

If you don't have a .crt file (selfsigned.crt in this command) already to reference, view the cert in Chrome and drag it to your desktop.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.