I am working on setting up SSL on apache24 web server on my local network with a self signed certificate.
I am able to confirm it is working with curl and openssl (see the details below), however I am not able to get it working with firefox.
I imported my self signed cert to firefox, however when I try to access the site "https://fbsd" it results in an error SEC_ERROR_UNKNOWN_ISSUER.
fbsd uses an invalid security certificate. The certificate is not trusted because it is self-signed. Error code: SEC_ERROR_UNKNOWN_ISSUER
I am not sure how I verify my FQDN is "fbsd", as I have set my cert CN as "fbsd".
I believe that my FQDN is setup correctly as my /etc/rc.conf is set correctly with hostname="fbsd" and I have my /etc/hosts setup with fsbsd with an IP address.
Please let me know if you see anything I have done incorrectly. Thanks!
OS versison: 64 bit FreeBSD 11.1
Browser: 55.0.3 64 bit (installed on fbsd server)
Local Server name: fbsd
Other changes: I have manually added my self signed cert to the following file /usr/local/share/certs/ca-root-nss.crt.
I am able to confirm it is working with curl and openssl (see the details below), however I am not able to get it working with firefox.
I imported my self signed cert to firefox, however when I try to access the site "https://fbsd" it results in an error SEC_ERROR_UNKNOWN_ISSUER.
fbsd uses an invalid security certificate. The certificate is not trusted because it is self-signed. Error code: SEC_ERROR_UNKNOWN_ISSUER
I am not sure how I verify my FQDN is "fbsd", as I have set my cert CN as "fbsd".
I believe that my FQDN is setup correctly as my /etc/rc.conf is set correctly with hostname="fbsd" and I have my /etc/hosts setup with fsbsd with an IP address.
Please let me know if you see anything I have done incorrectly. Thanks!
OS versison: 64 bit FreeBSD 11.1
Browser: 55.0.3 64 bit (installed on fbsd server)
Local Server name: fbsd
Other changes: I have manually added my self signed cert to the following file /usr/local/share/certs/ca-root-nss.crt.
Code:
openssl s_client -connect fbsd:443 -CAfile /usr/local/share/certs/ca-root-nss.crt
...
Start Time: 1504313750
Timeout : 300 (sec)
Verify return code: 0 (ok)
---
> curl [URL]https://fbsd[/URL]
<html><body><h1>It works!</h1></body></html>
Last edited by a moderator: