Expecting a .key private certificate

Hello,

Sorry I’m new to certbot so apologies for the new by question.

I generated certificates using the following commands:

sudo certbot certonly
--manual
--preferred-challenges=dns
--server https://acme-v02.api.letsencrypt.org/directory
--agree-tos
--domain *.microlee.co.uk

Which generated a folder on my C drive which .pen certificates in but no .key files which I was expecting.

Any idea’s on what I could be doing wrong?

Many thanks,
Lee.

Welcome to the community @Leewol76

I don't have a Windows system right now to double-check but I think you should have a privkey.pem file. Which I think is what you are looking for.

If that does not help, what files are in the folder with the .pem files?

Here is certbot's doc about the files created. It doesn't say anything specific about Windows but I assume it's the same as Linux (except for folder names)

https://eff-certbot.readthedocs.io/en/stable/using.html#where-are-my-certificates

4 Likes

privkey.pem is your private key.

4 Likes

Thanks for the responses but the application i need to upload the private key to is expecting a .key file. Do I need to change the format of the privkey.pem file?

1 Like

.key is not a format it is a naming convention

without knowing your app we can't say what it needs.

But, privkey.pem is probably it. If you don't know what that .key file is supposed to be let us know the app and we can help

4 Likes

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