SSL certificate

Hi! I didn't know that the ssl certificate is deleted when reinstalling the server, and I spent all attempts. How do I get my ssl certificate back?

1 Like

Hello @MinatsukiYue, and welcome to the LE community forum :slight_smile:

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. crt.sh | 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:

I ran this command:

It produced this output:

My web server is (include version):

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

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

5 Likes

My domain is: newhrust.space

I ran this command: sudo certbot --nginx -d newhrust.space -d www.newhrust.space

It produced this output: There were too many requests of a given type :: Error creating new order :: too many certificates (5) already issued for this exact set of domains in the last 168 hours: newhrust.space,www.newhrust.space: see Duplicate Certificate Limit - Let's Encrypt

My web server is (include version): idk

The operating system my web server runs on is (include version): Ubuntu 18.04

My hosting provider, if applicable, is: https://reg.ru

I can login to a root shell on my machine (yes or no, or I don't know): idk

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 0.31.0

1 Like

Your Issuer: C=BE, O=GlobalSign nv-sa, CN=GlobalSign Extended Validation CA - SHA256 - G3

Side note your certificate has
Validity
Not Before: Jul 16 08:49:18 2021 GMT
Not After : Aug 15 15:12:27 2022 GMT
Thus it is Expiring soon.

So if you still have the Private Key for the domain there should not be an issue, since you only deleted the certificate (assuming you did not delete the Private Key).

Using this SSL Checker - Check SSL Certificate
I am able to view the PEM file that is your certificate

#start /businessCategory=Private Organization/serialNumber=1067746613494/jurisdictionC=RU/jurisdictionST=Moscow/C=RU/ST=Moscow/L=Moscow/street=proyezd Berozovoy Roshchi, 12 etazh 2 Komnata 4/O=Domain name registrar REG.RU LLC/CN=www.reg.ru
-----BEGIN CERTIF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MfAxGdiZ
AKRRFf93FRwR2QLBACkGjbIImjfZEwAAAXqugX1WAAAEAwBHMEUCIQD0yQ/PMQv2
TAR1leSX5/rMnrhfaskVdh2q4b+S8nMnJQIgLEUBYG+N34XdBGyy5iQ/00SyaUMV
RmctunjXdyXBNK8AdQBVgdTCFpA2AUrqC5tXPFPwwOQ4eHAlCBcvo6odBxPTDAAA
AXqugX2IAAAEAwBGMEQCIEbB5PhbdAG77LyT5q9BSxrVaf7LB3H/fLmqcDGPTf+n
AiAnootaDQAQlC++LllPRu0Ie7gPiJm2WwffAqSW5dsBuQB3AEalVet1+pEgMLWi
iWn0830RLEF0vv1JuIWr8vxw/m1HAAABeq6BfawAAAQDAEgwRgIhAJ+4qhwUhcIX
9WwLs5DQSF97a+XcnWsP+vl5CnQGXO+IAiEAoi+cueaqGy0Uk/aFZ3DLAIHJE1XS
aCsTW00Ipdrs4KYwDQYJKoZIhvcNAQELBQADggEBAJj3Em4UrZiat6DDwYOD9Fvv
bmpDLGIZAxDUTIO+rD8pIGqnGrdz3vEhytNan9t/e0+C2N82X91OwuwQAr5LMJ2V
LC/B+fx+/YvgqFka1NeXGxz2Z1jsc4od0CujHHx16YICy4YSTprxvjc9ByPTV+wu
pNoWmeWjc0vuc0d6WuFIS4r11HU2PdUtCxtAT+p8D1b9Ot3mZN7suVQuuVZavkE2
NdSNQ5cKQMqMJeQ8Gjw6Vdbj3nXrZPEyFLllSF1rTsBodUrMVSNEUBHgM+pG3yFJ
NRQzcQtN+8k6ZLN8C14Rv6TK4HCf7lOBd+yTUrkfiv2iANgil6UdXgO9ZyuB1Xs=
-----END CERTIFICATE-----

#end /businessCategory=Private Organization/serialNumber=1067746613494/jurisdictionC=RU/jurisdictionST=Moscow/C=RU/ST=Moscow/L=Moscow/street=proyezd Berozovoy Roshchi, 12 etazh 2 Komnata 4/O=Domain name registrar REG.RU LLC/CN=www.reg.ru
2 Likes

Where to install this key?

1 Like

The Certificates you have received for your domain are listed here: https://crt.sh/?q=reg.ru

2 Likes

How to install this key?

1 Like

I believe your Server: nginx

2 Likes

This not the Private Key but the signed Certificate, from the CA; it will contain the Public Key associated with your Private Key.

3 Likes

How to install this key?

Here would be a good place to start Configuring HTTPS servers

4 Likes

Here is the list of certificates issued for the above domain: newhrust.space

2 Likes

And you are using Server: nginx/1.14.0 (Ubuntu) for

2 Likes

Also from crt.sh | newhrust.space
something like this crt.sh | 7224071462 you can download the PEM file of your issued Certificates.

Again you will still need the associated Private Key of the Certificate.

Try using https://ssl-config.mozilla.org/ to start with; I am guessing something like
Mozilla SSL Configuration Generator

4 Likes

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