Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In this previous question, SSL in Tomcat 7, I worked out how to get IE to trust a localhost certificate from my local Tomcat. That's ok for IE, but Chrome still doesn't trust it:

Chrome does not trust localhost certificate

I understand that Chrome just uses the same certificate store as IE, so why is this happening, or more importantly - how can I trust localhost?

share|improve this question

migrated from stackoverflow.com Sep 23 '11 at 9:07

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 1 down vote accepted

Here is a well-written answer, that refers to Configuring SSL Certificate in Linux.

The steps from the answer are:

  • click the lock icon with an X,
  • choose Certificate Information
  • go to Details tab
  • Click on Export... (save as a file)

Then add your certificate

certutil -d sql:$HOME/.pki/nssdb -A -t "P,," -n YOUR_FILE -i YOUR_FILE
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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