Jump to content


Photo

Let's Encrypt installation

lets encrypt HTTPS

  • Please log in to reply
5 replies to this topic

#1 notion

notion

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 27 June 2016 - 10:05 AM

Hello,
I have my domain name with www. and naked domain name. Should i install the SSL on both the version ? it shows domain.com as main & www. as alias.
Should install on both or one of either?
Thanks


  • 0

#2 Scott

Scott

    MDDHosting Staff

  • Staff Administrator
  • PipPipPipPip
  • 421 posts
  • Gender:Male

Posted 27 June 2016 - 10:14 AM

Choose both domains when issuing the certificate. There is no reason not too. It also means both domains will work with SSL, even if someone types in the other domain and needs to be redirected to the "right" one.
  • 1
Scott S - MDDHosting LLC - Providing Hosting since 2007
Scalable shared hosting plans in the cloud! Check them out!
Highly Available Cloud Shared, Reseller, and VPS
http://www.mddhosting.com/

#3 notion

notion

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 22 July 2016 - 09:28 AM

Could you tell me, why i am not able to lets encrypt certificate here? I get following error.

There was a problem processing your request

  • Error issuing certificate
  • Failed to issue certificate
  • The Let's Encrypt HTTP challenge failed: acme error 'urn:acme:error:unauthorized': Invalid response from http://www.notionplu...PMpYLFfsTHAmFY:"<!DOCTYPE html> <html class="no-js css-menubar" lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatib"

  • 0

#4 notion

notion

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 26 July 2016 - 02:50 AM

anyone have the answers?


  • 0

#5 MikeDVB

MikeDVB

    Forum Administrator

  • Staff Administrator
  • PipPipPipPipPip
  • 2,900 posts
  • Gender:Male
  • Location:Central Indiana, USA

Posted 26 July 2016 - 09:54 AM

 

Could you tell me, why i am not able to lets encrypt certificate here? I get following error.

There was a problem processing your request

  • Error issuing certificate
  • Failed to issue certificate
  • The Let's Encrypt HTTP challenge failed: acme error 'urn:acme:error:unauthorized': Invalid response from http://www.notionplu...PMpYLFfsTHAmFY:"<!DOCTYPE html> <html class="no-js css-menubar" lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatib"

 

Generally what that means is that you have a .htaccess rule blocking access or otherwise your script is handling it / interfering.

 

The way Let's Encrypt works is:

1. It contacts the Let's Encrypt Servers and requests the certificate.

2. The Let's Encrypt servers send back details to the plugin telling it to create a verification file [the ".well-known/acme-challenge/etc...." link above].

3. Let's Encrypt then connects to the URL and attempts to load the file.  If it can - it knows you have control over the domain and issues the certificate.

4. If it can't load the file - it cannot verify you control the domain and the installation will fail.

 

In short - you need to look at your content and be sure that the file Let's Encrypt is trying to access is accessible.

 

If you need further assistance with this you'll need to open a support ticket.


  • 1
Michael Denney - MDDHosting LLC - Providing Hosting since 2007
Scalable shared hosting plans in the cloud! Check them out!
Highly Available Cloud Shared, Reseller, and VPS
http://www.mddhosting.com/

#6 fjpoblam

fjpoblam

    Member

  • Members
  • PipPip
  • 63 posts

Posted 16 September 2016 - 12:50 PM

Michael: before I go blind-buffooning my way through Let's Encrypt, I'd truly appreciate your help. Let's do my questions on the basis of a fictitious domain called "mydomain.com".

First, it is my impression that, to install Let's Encrypt, I'll go through the process including "mydomain.com" and then "www.mydomain.com" as an alias. Right?

Next. Will I need to go through all my website files and change (internal) link references from "http://... to "https://..."? (This includes, if I may make sure I know how, Wordpress.)

Do I need to make any changes with the registrar control panel (which specifies MDD name servers)?

Finally. Note these .htaccess statements. Will I simply need to change all instances of the character string "http" to the character string "https"?

RewriteEngine on
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^mydomain\.com
RewriteRule (.*) http://mydomain.com/$1[R=301,L]

RewriteEngine On
RewriteCond %{HTTP_HOST} i^www\.(.+) [NC]
RewriteRule ^(.*) http://%1/$1 [R=301,NE,L]

Again, I would truly appreciate your advice. I haven't done anything yet because of exercising what I (as a relatively ignorant practitioner) consider "due diligence".
  • 0





Also tagged with one or more of these keywords: lets encrypt, HTTPS

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users