Java EE 6??CERTUTIL
-
30-09-2019 - |
题
??????Java EE 6?GlassfishV3????NSS????????????,???certutil??????????????GlassFish??NSS??????????,???Java EE 6??????,?????NSS!
?????????
??
解决方案
There is one such tool in linux under /usr/bin/certutil. Just add a certificate to the database so you could list certificates after that. To add a certificate issued by a trusted CA just execute this command in linux:
$ sudo certutil -A -n ServerCert -t "P,u,u" -d /path/to/glassfish/domains/domain1/config/ directory -i /path/to/your/server-cert.pem
Now to get a list of installed certificates issue a command like this:
$ sudo certutil -L -d /path/to/glassfish/domains/domain1/config/
不隶属于 StackOverflow