P
P
Pavel2018-03-06 12:36:55
Digital certificates
Pavel, 2018-03-06 12:36:55

How to get the public key of an SSL certificate, having the certificate itself and the private key?

Good afternoon!
There is hosting, with the ability to automatically install a free certificate from letsencrypt. I myself am not well versed in generating certificates, how many times I have not tried to create them .. Therefore, I took advantage of this opportunity from the hoster.
After installation in the hosting panel, I see
-----BEGIN RSA PRIVATE KEY-----
...
-----BEGIN CERTIFICATE-----
...
And I need to get the public key of this certificate. Support in the chat replied "use them to get a private key".
Tell me how can I do this?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
CityCat4, 2018-03-06
@CityCat4

Isn't the feature of LE just that he does everything himself, without requiring the user to have knowledge of certificates?
JFYI: The one below the BEGIN CERTIFICATE text is the public key, also known as the certificate.

P
Puma Thailand, 2018-03-06
@opium

For letsencrypt to work, a private certificate and the certificate itself, which is essentially the public key, are sufficient))

A
Alexander Yudakov, 2018-03-06
@AlexanderYudakov

The public key is part of the certificate.
For this, a certificate is needed - to tell others: trust this public key, and you will be happy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question