I
I
Irek Sitdikov2016-04-15 01:10:50
Digital certificates
Irek Sitdikov, 2016-04-15 01:10:50

Where does Vesta store the public key (.pub file) of the ssl certificate?

Generated an SSL certificate through the Vesta panel for a specific domain.
In the directory /home/admin/conf/web I see the certificate files (.crt), the private key (.key) and the unknown file (.pem). Where is the public key stored?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
CityCat4, 2016-04-15
@sitdirek

The public key does not have to have the .pub extension. It's DOS evil to think that the file type depends on the extension. The certificate consists of two files - the certificate key, which usually has the .key extension, but may have any other or no certificate at all, also called the public key. Here it is just stored in the .crt file. And the .pem file most likely contains the same certificate, only in addition to the encoded part, it also contains "human-readable", that is, human-readable. Rename .crt or .pem to .pub - and you will be happy.

D
Dimonchik, 2016-04-15
@dimonchik2013

serverfault.com/questions/9708/what-is-a-pem-file-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question