ian diddams <
iandid...@googlemail.com> writes:
>I've probably confused everybody on usenet by my own lack of full
>understanding so i'll attempt to explain again.
>I have a .pem file for a wildcard ssl cert.
>I need to turn that into cert8.db and key3.db (and I now suspect a
>secmod.db?) for use on a Sun Java System Web Server
>v. 7.0U4 B12/02/2008
You don't directly convert anything into a .db file. That is short for
database, and you use utilities provided by the software you want to
use to import the data you want into the database. Instead of it
looking for flat files (ie. Apache), it looks instead for the data
inside the database. (ie. iPlanet, Java anything, Mozilla/Firefox).
In your case, you have a .pem file (and presumably a .key file that
goes along with it, because a cert is always associated with a key pair
and without having the two of them together, it is useless).
People have posted remnants of what you need to use. Although I
seem to remember Java coming with certutil already. But it is also
available from the Mozilla NSS project. The doc link below includes
a direct link to it.
But the webserver/appserver itself should have an interface to import
this data into the database? Seems a lot simpler to do it that way.
You might be able to find certutil within the webserver directories
somewhere, or else inside the java installation areas, or download
it from the NSS project.
Here's a link to the docs on how to do a couple things with the CLI
certutil tool for your webserver stuff..
http://docs.oracle.com/cd/E19159-01/819-3671/ablrg/index.html