DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

SSL Cert Installation

Sort:
You are not authorized to post a reply.
Page 1 of 212 > >>





New Around Here





    After reading ALOT of documentation and forums posts, I am still confused regarding SSL certificate installation.  Can anyone help???

    Info:
    I host my site at Winhost.com.
    The Server name=Site0.com and the Portal0=Site0.com
    Portal1=Site1.com
    Portal2=Site2.com

    Now that the standard is to have every site and every page employ SSL, I have several questions:
    1. Do I need to purchase and install a certificate for each portal?  Where do I install each certificate?
    2. Winhost has a spot to install a certificate at the server level (Site0.com), but the certificate is for Site0.com not for other domains. So if I install the Site0 certificate on the Site0 server, will the other portals have SSL or not?  If not, how and where do I install Site1 certificate?  
    3. To solve all of the SSL issues with a multi-domain DNN installation, should I just purchase and install one multi domain SSL certificate? What if I add a domain to the DNN installation in the future, will the SSL certificate not work for that portal?  

    As you can tell, I'm confused.  Many thanks in advance for advice.






    Veteran Member





      Hello and welcome!  

      The reason it's been so difficult to find out how to configure DNN with SSL is because it's mostly a set-it-and-forget-it kind of thing.  If you're installing DNN for the first time,just make sure IIS is properly configured with the SSL certificate, and there's nothing else you need to do.  DNN will figure out the rest.  

      If DNN is already up and running without an SSL cert in IIS, you're going to need to perform the hosting providers instructions on how to procure and install the SSL certificate.  After it's done, then you can tell DNN to only respond to SSL requests.  This is done using in the persona bar. 

      1. Go to the Settings section (gear icon). 
      2. Choose Security.  
      3. Choose More
      4. Choose SSL Settings.  
      5. Choose On and save your change.  

      Now, you'll also want to set all pages to only respond to SSL requests too.  Run the query below using the Sql Console in the persona bar to do that.  

      UPDATE {databaseOwmer}[{objectQualifier}Tabs] SET [IsSecure] = 1;

      Finally, in IIS or DNN, you'll want to restart the application (website).  

      NoteDo not start this process until you're 100% certain the SSL certificate is installed correctly and ready to use.  

      That's it!  😎






      Growing Member





         

        A certificate has the capability to encompass multiple names or subject alternate names. For instance, securing both "dnncommunity.org" and "mail.dnncommunity.org" with a valid certificate can be achieved by incorporating both host names into a single certificate. Alternatively, a wildcard certificate such as "*.dnncommunity.org" can be employed to cover various subdomains. Furthermore, it is possible to include an entirely distinct Fully Qualified Domain Name (FQDN), like "dnnisthebestsolutionever.com," within the same certificate.

        Your host propably uses Lets Encrypt so getting those certificates should be easy but ask them. Do you have access to IIS?






        New Around Here





          Thank you Will. I will do those tasks first and report back.

          And thank you Mariette, that helps a lot. After getting the CSR from Winhost, I bought an SSL cert on namecheap.com for Site0.com. Super cheap for 5 years. But before I install it on the Site0.com server, it dawned on me that it might not work for Site1.com. I'm going to follow the items from Will Strohl and see if the SSL works for Site1.com too.

          My best wishes to you both!





          Growing Member





            Nowadays I don't see great reasons to pay for an SSL certificate.

            Mariette mentioned LetsEncrypt (FD I use their certificates). It's a great solution. It has no monetary cost. The renewal process is automatic. So unless there is a reason that you cannot use it. (Your hosting provide maybe won't support it.) What's not to like?

            If your hosting provider won't support it, I would put that as a black mark against them - unless they have a decent alternative offering.

            Thanks,
            Richard
            www.dynamisys.co.uk





            Growing Member





              Yes, I use Lets Encrypt everywhere.





              Veteran Member





                Posted By RichardHowells on 1/25/2024 9:19 PM

                Nowadays I don't see great reasons to pay for an SSL certificate.
                 

                Richard, you are right. And to give that sentence some arguments, I recommend reading Troy Hunt: Extended Validation Certificates are Dead. And the times where EVCs caused a green Url line in the browser are gone long time ago...

                Happy DNNing!
                Michael

                Michael Tobisch
                DNN★MVP

                dnnWerk Austria
                DNN Connect





                Veteran Member





                  If you are using Cloudflare, you get a free SSL certificate for each domain through their dashboard. The thing people often get tripped up on here is the difference between encryption from the client's browser to Cloudflare, versus from Cloudflare to the web server. You'll want both to have end-to-end encryption. Again, this is free when you use Cloudflare (which also brings many other wonderful benefits.

                  David Poindexter


                  Creator:







                  Advanced Member





                    If you are on a recent version, you may not need the sql scripts anymore. In Security -> More -> SSL Settings

                    We now have Off, On or Advanced. On basically makes it for all pages. Advanced would give the old behavior where it could be different per page.





                    New Around Here





                      Thanks for mentioning that Daniel. I only recently just discovered those changes and they are really great.

                      Cool feature to note: switch to Advanced and you also get a button to set all pages to IsSecure! So no more SQL Console scripts.

                      Once you are sure the SSL is in place and working, in DNN, simply set the Settings/Security/More, SSL SETTINGS dropdown to "On," then Save. And you are all set. So nice, so modern!

                      You are not authorized to post a reply.
                      Page 1 of 212 > >>

                      These Forums are dedicated to the discussion of DNN Platform.

                      For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

                      1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
                      2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
                      3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
                      4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
                      5. No Flaming or Trolling.
                      6. No Profanity, Racism, or Prejudice.
                      7. Site Moderators have the final word on approving / removing a thread or post or comment.
                      8. English language posting only, please.

                      Would you like to help us?

                      Awesome! Simply post in the forums using the link below and we'll get you started.

                      Get Involved