CertSage SSL gone!

Hi @griffin! Hope you are doing well!

We spoke a few months ago in this topic and you helped me to add the SSL certificate to my site through CertSage.
Now it seems that is gone! Do I have to renew the certificate after a few months passes?

Thanks in advance!

2 Likes

No, the cert is still there; it's just expired.

Yes, the cert expires in 90 days from issuance, so must be renewed before that time.

11 Likes

Let's Encrypt certificates have a 90 day lifetime. Most people use them in conjuction with tools that automate renewal. If you employ a manual approach, you will want to conduct it on a regular basis in advance of your certificate expiration date.

8 Likes

Thanks for the info @linkp. Can you recommend an automatic renewal tool for this?

Also, the renewal of the certificate, how is it done? Is there a specific procedure?

2 Likes

If you install the newest version of CertSage, you can get a new certificate (which is the same thing as renewing your certificate) much faster than with previous versions. Every 60 days you will need to open the CertSage page and press a couple of buttons to renew and install your certificate, which takes under a minute. That's it (well, you'll need to enter your password for each button press to prevent others from pressing the buttons for you, but that's not hard). You can also sign up at the bottom to receive expiration warning emails directly from Let's Encrypt that remind you to renew.

9 Likes

From reading your referenced previous topic, it would appear that CertSage was the best option based on the limitations of your hosting environment. Updating your installed CertSage as suggested by @griffin would be worthwhile. I would consider setting a recurring event on your calendar every other month and visit the CertSage on your site to run the renewal.

The completely automated options would involve changing your hosting and are more complex to set up.

9 Likes

So the only thing I need to do is upload the new file certsage.txt and then rename it to certsage.php? This would renew my SSL certificate with the latest version of Certsage?

You would also need to load the page in your web browser and complete the process, but generally, yes.

7 Likes

Great, I've uploaded the file. Im waiting for the impact of the SSL Certificate now.

Thank you both @griffin @linkp !

5 Likes

You are correct about how to upgrade CertSage. As @linkp indicated, to renew you follow the same procedure you used to acquire and install your certificate the first time except that the process is much faster, simpler, and more secure with the latest version of CertSage. That really sounds like an ad, but it's true!

8 Likes

@griffin Do you know it throws me this 500 error when loading the URL of the certsage.php?


2 Likes

Please paste the contents of the error_log file here.

5 Likes


[26-Dec-2022 17:08:06 America/Argentina/Buenos_Aires] PHP Parse error: syntax error, unexpected '=' in /home/texprintcom/public_html/certsage.php on line 319
[26-Dec-2022 17:15:42 America/Argentina/Buenos_Aires] PHP Parse error: syntax error, unexpected '=' in /home/texprintcom/public_html/certsage.php on line 319
[26-Dec-2022 17:25:09 America/Argentina/Buenos_Aires] PHP Parse error: syntax error, unexpected '=' in /home/texprintcom/public_html/certsage.php on line 319
[26-Dec-2022 18:19:56 America/Argentina/Buenos_Aires] PHP Parse error: syntax error, unexpected '=' in /home/texprintcom/public_html/certsage.php on line 319
[26-Dec-2022 18:57:49 America/Argentina/Buenos_Aires] PHP Parse error: syntax error, unexpected '=' in /home/texprintcom/public_html/certsage.php on line 319
[27-Dec-2022 16:30:52 America/Argentina/Buenos_Aires] PHP Parse error: syntax error, unexpected '=' in /home/texprintcom/public_html/certsage.php on line 319

2 Likes

What version of PHP are you using?

5 Likes

I've asked one of our community leaders to replace the certsage.txt file linked in step 1 of the CertSage 1.4.0 installation instructions with an updated version with backward compatible syntax that should eliminate that error. I'll update here once the linked file has been replaced.

Update: the new certsage.txt file is ready for download.

8 Likes

Hi @griffin! I've updated the certsage.txt file, and keeps sending the same 500 error when trying to load certsage.php.
https://texprint.com.ar/certsage.php

Have any idea why this is happening? maybe I could try installing all again? or deleting old CertSage folder?

Thanks in advance for your help!

Have a great start of the year!

2 Likes

What are the current contents of the error_log file? This could be a different error.

5 Likes

@griffin These are the error logs:

[26-Dec-2022 17:08:06 America/Argentina/Buenos_Aires] PHP Parse error: syntax error, unexpected '=' in /home/texprintcom/public_html/certsage.php on line 319
[26-Dec-2022 17:15:42 America/Argentina/Buenos_Aires] PHP Parse error: syntax error, unexpected '=' in /home/texprintcom/public_html/certsage.php on line 319
[26-Dec-2022 17:25:09 America/Argentina/Buenos_Aires] PHP Parse error: syntax error, unexpected '=' in /home/texprintcom/public_html/certsage.php on line 319
[26-Dec-2022 18:19:56 America/Argentina/Buenos_Aires] PHP Parse error: syntax error, unexpected '=' in /home/texprintcom/public_html/certsage.php on line 319
[26-Dec-2022 18:57:49 America/Argentina/Buenos_Aires] PHP Parse error: syntax error, unexpected '=' in /home/texprintcom/public_html/certsage.php on line 319
[27-Dec-2022 16:30:52 America/Argentina/Buenos_Aires] PHP Parse error: syntax error, unexpected '=' in /home/texprintcom/public_html/certsage.php on line 319
[28-Dec-2022 11:04:23 America/Argentina/Buenos_Aires] PHP Parse error: syntax error, unexpected '=' in /home/texprintcom/public_html/certsage.php on line 319
[28-Dec-2022 11:06:16 America/Argentina/Buenos_Aires] PHP Fatal error: Call to undefined function random_bytes() in /home/texprintcom/public_html/certsage.php on line 267
[28-Dec-2022 11:07:20 America/Argentina/Buenos_Aires] PHP Fatal error: Call to undefined function random_bytes() in /home/texprintcom/public_html/certsage.php on line 267
[28-Dec-2022 12:07:16 America/Argentina/Buenos_Aires] PHP Fatal error: Call to undefined function random_bytes() in /home/texprintcom/public_html/certsage.php on line 267
[28-Dec-2022 12:26:56 America/Argentina/Buenos_Aires] PHP Fatal error: Call to undefined function random_bytes() in /home/texprintcom/public_html/certsage.php on line 267
[28-Dec-2022 14:26:15 America/Argentina/Buenos_Aires] PHP Fatal error: Call to undefined function random_bytes() in /home/texprintcom/public_html/certsage.php on line 267
[30-Dec-2022 11:15:53 America/Argentina/Buenos_Aires] PHP Fatal error: Call to undefined function random_bytes() in /home/texprintcom/public_html/certsage.php on line 267
[30-Dec-2022 11:19:30 America/Argentina/Buenos_Aires] PHP Fatal error: Call to undefined function random_bytes() in /home/texprintcom/public_html/certsage.php on line 267
[30-Dec-2022 11:57:53 America/Argentina/Buenos_Aires] PHP Fatal error: Call to undefined function random_bytes() in /home/texprintcom/public_html/certsage.php on line 267
[30-Dec-2022 16:21:43 America/Argentina/Buenos_Aires] PHP Fatal error: Call to undefined function random_bytes() in /home/texprintcom/public_html/certsage.php on line 267

1 Like

The random_bytes function was added to PHP in version 7.0. What version of PHP are you using?

5 Likes

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