Tomcat+Windows: I only see 2 files (chain and key), not the cert

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: cambioar.info

I ran this command: acme-win

It produced this output: two files only (cambioar.info-chain.pem and cambioar.info-key.pem)

My web server is (include version): Tomcat 9.0.14

The operating system my web server runs on is (include version): Windows Server 2019

Hi everyone!

I’m very new at this and I can’t install a certificate in my Tomcat installation. I used acme-win (using the method that lets me verify by adding a TXT record) and it seemed succesfull.
However, as a result, I only see two files: chain and key pem files, not the cert.

May someone help me on how to apply these files into server.xml (or any other config tip) to be used by Tomcat?

Regards!
Daniel

Hi @danieldotcom

open that file with an editor. Perhaps there are two certificates. So split the file in two parts if your tomcat requires different files (cert and chain).

1 Like

No, the key file has only one certificate. I was able to import the chain file into a new keystore but when I try to do the same with this I get a “input not a x.509 certificate”.

Anyway, it looks like I still need a third file with the proper certificate, but acme-win just gives me these 2.

Any clue?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.