Had a problem with several FreeNAS 11 systems – when trying to enable https for the web interface I couldn’t get a working certificate.
- Generate internal CA.
- Generate internal certificate.
- Chrome complains the certificate is invalid and does not allow you to bypass it.
- Delete certificate and CA, repeat, same problem.
After mucking about with using upper and lower case for the certificate CN names etc, eventually got things to work by generating a second certificate with the same CA. Which makes me think it might be this problem:
So either generating a couple of certificates (and using the second one) or changing the serial number of the CA to something bigger than 1 (and then generating a certificate) should work.
(Go to the CA tab, double-click the CA entry and scroll down to the bottom to view/edit the serial number).