I have a SSL certificate I'm trying to import in a Java keystore in order to switch some old application to SSL. I am unfamiliar with everything Java. I have the .crt, .key and .ca bundle files but not clue what formats they're in.
com.cabundle:
-----BEGIN CERTIFICATE-----
MIIEkjC....
com.crt:
-----BEGIN CERTIFICATE-----
MIIGDjCCBPag...
com.key:
-----BEGIN PRIVATE KEY-----
MIIEvAIBADANBg.....
I've tried following this guide: https://docs.oracle.com/cd/E35976_01/server.740/es_admin/src/tadm_ssl_convert_pem_to_jks.html but I get all sorts of garbage errors I can't make anything out of. I just don't get it.
My java configuration file needs this:
# SSL configuration (disabled by default)
# ssl-enabled=true|false
# ssl-key-store=
# ssl-key-store-password=
# ssl-key-store-type=jks
How can I do this?