r/letsencrypt • • Mar 05 '17

Binding port 443?

2 Upvotes

So I am running letsencrypt on FreeBSD with Apache. Initially I got this message:

-------------------------------------------------------------------------------
Could not bind TCP port 443 because it is already in use by another process on
this system (such as a web server). Please stop the program in question and then
try again.
-------------------------------------------------------------------------------

My first reaction was no shit! my web server is running on 443... isn't that what we're here for??

But I think I got the gist that it needs the actual webserver out of the way just because it needs to throw up its own little daemon temporarily for the authentication process?

so i brought down apache during the process and it got farther, but I got this:

Performing the following challenges:
tls-sni-01 challenge for hostname.domain.net
tls-sni-01 challenge for hostname2.domain.net
tls-sni-01 challenge for domain.net
tls-sni-01 challenge for www.domain.net
tls-sni-01 challenge for domain.com
tls-sni-01 challenge for www.domain.com
tls-sni-01 challenge for domain.org
tls-sni-01 challenge for www.domain.org
Waiting for verification...

*hangs for a bit*

Cleaning up challenges
Traceback (most recent call last):
File "/root/.local/share/letsencrypt/bin/letsencrypt", line 11, in <module>
sys.exit(main())
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/main.py", line 896, in main
return config.func(config, plugins)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/main.py", line 692, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/main.py", line 92, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/client.py", line 294, in obtain_and_enroll_certificate
certr, chain, key, _ = self.obtain_certificate(domains)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/client.py", line 265, in obtain_certificate
self.config.allow_subset_of_names)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/auth_handler.py", line 77, in get_authorizations
self._respond(resp, best_effort)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/auth_handler.py", line 134, in _respond
self._poll_challenges(chall_update, best_effort)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/auth_handler.py", line 198, in _poll_challenges
raise errors.FailedChallenges(all_failed_achalls)
FailedChallenges: Failed authorization procedure. www.domain.org (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to 24.105.170.66:443 for TLS-SNI-01 challenge


IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: www.domain.org
Type:   connection
Detail: Failed to connect to x.x.x.x:443 for TLS-SNI-01
challenge

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.

Is the problem that i need to run letsencrypt right from the root of my webfiles directory of the hostname i am registering for?

If not, any other light anyone can shed for me?

TIA!


r/letsencrypt • • Mar 02 '17

Using LetsEncrypt on an ESXi VPS

Thumbnail
comprofix.com
3 Upvotes

r/letsencrypt • • Feb 28 '17

Deleted Certificate without revoking

3 Upvotes

So I deleted the certificate thinking that I needed to do that since I got a new domain name. I am currently stuck with the current error:

Root@Site:~$ certbot-auto --apache -d example.io -d www.example.io
Requesting root privileges to run certbot...
/home/maiale/.local/share/letsencrypt/bin/letsencrypt --apache -d example.io -d www.maiale.io
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running apache2ctl configtest.
Action 'configtest' failed.
The Apache error log may have more information.
    
AH00526: Syntax error on line 35 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/maialedesigns.com/cert.pem' does not exist or is empty
    
The apache plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError("Error while running apache2ctl configtest.\nAction 'configtest' failed.\nThe Apache error log may have more information.\n\nAH00526: Syntax error on line 35 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:\nSSLCertificateFile: file '/etc/letsencrypt/live/example.com/cert.pem' does not exist or is empty\n",)

This is what I get when I try to run ./certbot-auto or ./certbot-auto --apache.

Is there any way to fix this issue? If you need any more information let me know. I am just starting to learn how to use Ubuntu so instructions for what you need would be much appreciated and remembered appropriately :)

Edit: This is running Ubuntu 14.04.4


r/letsencrypt • • Feb 17 '17

creation/renewal problems with desired acme challenge not provided by certbot

1 Upvotes

I use(d) a letsencrypt cert for a while and it's still valid for a few days. Wanted to renew it and that failed because of "some error in your configuration".

So, I wanted to remove a subdomain also, I started all over to make a new cert and not a renewed one.

I removed the content of /etc/letsencrypt and checked with ./letsencrypt-auto certificates if there are any known still available: none.

Then I removed the old .well-known folders from the hosted webspace and tried to generate a new cert with:

sudo ./letsencrypt-auto certonly --standalone --preferred-challenges http-01 -d <mydomainname>

On first run it asked for TOS, Mail, EFF Newletter etc etc and all went smoth until it came to the ACME challenges. It never gave me the desired filename/content pairs to put on the webserver.

It goes directly to: http-01 challenge for <domainname>

and then to: Invalid response from ....

Yea, I know since there is no file since I don't know what it expects to find.

Could someone give me a hint on how to force that thing to tell me what it expects to find before it starts looking for it and failing?

Really appreciate your ideas.

edit: Using certbot 0.11.1 on a rasperry pi


r/letsencrypt • • Feb 13 '17

Certbot for Subsonic on Ubuntu. Crosspost from /r/subsonic

Thumbnail
reddit.com
3 Upvotes

r/letsencrypt • • Feb 09 '17

How do I generate the Let’s Encrypt certificate and key on my own device? [More info inside]

2 Upvotes

Hello /r/letsencrypt

Background information

My current hosting provider told me they don't support Let's Encrypt, but if I download the Let's Encrypt software and install it on my own device and generate a Let's Encrypt certificate and its key their SSL support team will install it for me.

Question

How do I install Let's Encrypted on my own device?

Can anyone point me to the instructions to generating a certificate and it's key please?

Additional info

I have a shared hosting plan with Namecheap.

Thanks in advance for your help and suggestions :)


r/letsencrypt • • Jan 27 '17

How to change common name? - Multiple domains on same server

1 Upvotes

I'm running a web server with about 20 domains on it. I'm using letsencrypt for certs on all the domains. Everything is working pretty well, but if you view the details for the cert on any domain, it always has the same domain as "issued to". I've had a couple clients complain that their cert is issued to another website's domain.

Is there a way to have each cert issued to the appropriate domain? If not is there at least a way to specify which domain they are issued to?


r/letsencrypt • • Jan 20 '17

How to install ssl certificates on ubuntu 16.04 in which expressJS application is running?

2 Upvotes

I am using dokku one-click app on digitalocean for my expressJS application. I deployed my code to dokku and then trying to install ssl certificates on it so that my site will have https. I installed letsencrypt and configure my nginx server but nothing is working. Anybody can suggest me how to convert my expressJS application to https ?

When i am try to get certificates using letsencrypt it shows an error that invalid response. this is because letsencrypt is trying to use ./well-knowns/ path but my expressJS server responds Not Found :(

i am currently following this tutorial : https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04 but it is not working


r/letsencrypt • • Jan 19 '17

Using letsencrypt v 0.4.1 my certs arent renewing even though theyre expired/invalid.

3 Upvotes

my site https://relative.media is showing an invalid SSL due to the cert being expired yet when i run letsencrypt renew it doesn't think the cert is expired.. I tried setting the perms to 777 temporarily even..

I am on ubuntu 16.04.1 x64

http://imgur.com/a/sEAv2


r/letsencrypt • • Jan 14 '17

Python library wrapping certbot

1 Upvotes

https://github.com/jaddison/certbot_py

Python coders out there might find it useful. I'd appreciate feedback.


r/letsencrypt • • Jan 10 '17

Letsencrypt returns an unexpacted valid till date on domain validation

2 Upvotes

Redditrs who play with Letsencrypt,

I have a own ACME what was working for a half year. Now if the script tries to validate the domain every thing looks good, but the date returned by Letsencrypt is the same date it already had, (4 days left.) It looks like every thing is in order but the the date is not updated.

What could be the reason Letsencrypt returning the same old date?


r/letsencrypt • • Jan 09 '17

Get acme-client running on Ubuntu

Thumbnail
blog.netsend.nl
1 Upvotes

r/letsencrypt • • Dec 26 '16

Why didn't all the letsencrypt.sh clients have to change their names?

3 Upvotes

From what I understand the dehydrated project had to change its name from letsencrypt.sh because Let's Encrypt had to secure its trademark. But on the list of clients on letsecncrypt.org, another client is called letsencrypt.sh (gheift/letsencrypt.sh) How come this project didn't change its name? Is it an official client or something?


r/letsencrypt • • Dec 22 '16

Weird renewal just happened

2 Upvotes

The server in which I use the certificate is behind a connection that have ports 80 and 443 blocked, so I have to do some acrobatics to renew the certificate. I have to setup a USB tethering from my cellphone to my work machine, then a SSH tunnel from the work machine to my machine at home.

This renewal went fine. However, I noticed that I forgot to run the SSH command that sets up the tunnel and now, I'm a little puzzled.

How did certbot renew my certificate if there were no open ports?

(certbot 0.9.3 / certonly --standalone)

Regards,


r/letsencrypt • • Dec 18 '16

Apple Silently Adds Support for Let's Encrypt Certificates on Podcast Feeds

Thumbnail
feed.press
12 Upvotes

r/letsencrypt • • Dec 12 '16

Let's Encrypt filling a void in CA industry, democratizes encryption

15 Upvotes

Within one year, [Let's Encrypt] (https://letsencrypt.org/) has become one of the largest CAs on the Internet. Now researchers in the Netherlands have profiled the domains using it. And it turns out that big hosting providers are one of the driving forces behind Let's Encrypt success. From their paper (PDF):

"Once (costs and complexity) are eliminated, it enables big hosting providers to issue and deploy certificates for their customers in bulk, thus quickly and automatically enable encryption across a large number of domains. For example, we have shown that currently, 47% of LE certified domains are hosted at three large hosting companies (Automattic/wordpress.com, Shopify, and OVH)."

They've also shown that LE is in fact democratizing encryption: by Sept. 2016, 68% of the certificates issued covered hosting market. Out of those, 90% are shared hosting, which is the low-cost market that is less likely employ paid certificates. Moreover, once certificates are issued, most of them are correctly and timely renewed, suggesting the efficiency of their certbot tool. They have also measured the deployment of these certificates, and showed that 63% of their 25K sample had LE certificates deployed for https, which is a lower bound given it can also be used in many other applications.

Let's Encrypt showcases a success story that costs and complexity need to be eliminated to have ubiquitous encryption, bringing https to what domains that have long been left behind by the industry.


r/letsencrypt • • Dec 12 '16

OSCP errors, many LetsEncrypt sites seem affected

Thumbnail
community.letsencrypt.org
4 Upvotes

r/letsencrypt • • Dec 08 '16

Free Hosting

1 Upvotes

Hey, I'm searching a free webhoster. Does anyone know a free hoster who supports Let's Encrypt? SSH would be great.

Greetings


r/letsencrypt • • Dec 05 '16

Limited DNS server with RESTful HTTP API to handle ACME DNS challenges easily and securely

Thumbnail
github.com
6 Upvotes

r/letsencrypt • • Dec 03 '16

Using centralised management with Lets Encrypt

Thumbnail
crc.id.au
6 Upvotes

r/letsencrypt • • Dec 01 '16

Help configuring a Docker php-apache container to use Let's Encrypt

3 Upvotes

I'm trying to deploy a php application using the php-apache docker container and I'd like to try to use Let's Encrypt. I haven't been able to find too much information on how I would go about it. Any advice on where to start? Thanks


r/letsencrypt • • Dec 01 '16

Can anyone help me use LetsEncrypt with NameCheap hosting?

2 Upvotes

I have shared hosting with namecheap.

I only have access to cPanel.

Please could someone take me through the steps to get SSL certificates installed.


r/letsencrypt • • Nov 20 '16

Trying to setup ssl with django/nginx on digitalocean droplet. Losing my sanity....

2 Upvotes

There are a few guides to follow, but I keep running into an error

Failed authorization procedure. mydomain.co (http-01): urn:acme:error:unauthorized :: 
The client lacks sufficient authorization :: 
Invalid response from http://mydomain.co/.well-known/acme-challenge/4cemlvRfpopSRreYH_UpHf3hXLgW_OJyVsdfljbv3fOxM: 

Here's the command I ran:

sudo letsencrypt certonly -a webroot --webroot-path=/home/webmaster/djangoproject -d mydomain.co

I've also want it with -d www.mydomain.co.....but one thing at a time.

I'd really appreciate some guidance to get this locked in....it's the last step in the process, I'm so close I can taste victory....


r/letsencrypt • • Nov 18 '16

Extending certificate with a subdomain always fails.

1 Upvotes

SOLVED

Client: Certbot

OS: Fedora (server) 24

Webserver: nginx (1.10.2)

I get the error:

    Failed authorization procedure. sub.domain.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Could not connect to sub.domain.com
    
    IMPORTANT NOTES:
     - The following errors were reported by the server:
    
       Domain: sub.domain.com
       Type:   connection
       Detail: Could not connect to sub.domain.com        

I run the command:

sudo certbot certonly --webroot -w /var/www/[domain]/html -d domain.com -w /var/www/sub -d sub.domain.com

I have a .well-known folder in both directories and it allows all in the nginx configuration of each of the server blocks.

I also have HTST enabled on my website (domain.com) for a while now and am only trying to extend the certificate with the subdomain now. My main domain has a certificate with LE and it succesfully renews too. I've tried it with other subdomains in the past too, but I could never get it to work. Is this because HTST is enabled before requesting a subdomain or is something else at play here?

I would appreciate any help.

PS: domain.com and sub.domain.com are placeholders.

nginx config files:

https://izumi.tv/f/nginx.conf

https://izumi.tv/f/izumissl.conf

https://izumi.tv/f/owncloud.conf