If you are running DNN (Dotnetnuke) as your websites application then sometimes this can cause issues installing or renewing LetsEncrypt certificates.
A quick solution is to Disable Advanced URL Management (AUM) temporarily and renew the certificate. Then turn AUM back on. You will likely want it on as gives you cool things like pretty URLs. But if you don't care about that you can leave it off and your LetsEnrypt certificate should auto-renew without any intervention.
If you leave AUM on you will have to manually do this every 3 months to renew the certificate. If that is not acceptable to you then please see the notes regarding LetsEncrypt support at the bottom of this article and consider purchasing a paid for certificate that will not have this issue.
The Quick Fix:
- Simply replace "Advanced" urlFormat in your web.config file with "humanfriendly" as shown below:
<friendlyUrl defaultProvider="DNNFriendlyUrl"> <providers> <clear /> <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="humanfriendly" /> </providers> </friendlyUrl>
- Save the web.config file.
- Go to the website in your hosting CP (Websites > The Website).
- Click the SSL tab.
- Click Renew Certificate.
- The certificate should now be succesfully renewed and you can revert the web.config change made above.
Please note that these free certificates are provided as is.
We provide the technology to install them in our control panel which uses LetsEncrpt's API to get the certifcates issued and then our CP installs them on your websites.
If Internet Security Research Group (ISRG) ever stop providing and renewing these certificates free of charge then clients certificates installed on our systems will not be renewed and will expire.
We make no guarantee that LetsEncrypt certificates will always work or renew as they rely on ISRG and their services functioning which we have no control over.
Therefore if clients prefer a fully managed and guaranteed SSL certificate solution we recommend purchasing a commercial certificate from Winserve. These certificates are issued, installed, renewed and fully supported manually by our own technical team. You can view our wide selection of certificates by clicking here.