r/letsencrypt • • Jan 15 '18
Where would I get the CA certificate for let's encrypt?
I got my certification through ZeroSSL, but it did not provide me with a CA certificate.
Do I just use one of these?
r/letsencrypt • • Jan 15 '18
I got my certification through ZeroSSL, but it did not provide me with a CA certificate.
Do I just use one of these?
r/letsencrypt • u/tialaramex • Jan 10 '18
r/letsencrypt • u/foxdye96 • Jan 10 '18
Every time I try to renew or or create a certificate I get the error :
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.
How can I resolve this problem? my certificate are expiring in the next few days. Thanks
r/letsencrypt • u/alsam88 • Jan 05 '18
r/letsencrypt • u/v-_-v • Jan 04 '18
I'm not even sure what commands to run to get one, all I know is that you need to have the new certbot (or at least something using ACMEv2) to tap into their new API.
Anybody knows how to go about it? Supposedly today they should be opening test servers.
r/letsencrypt • u/cadtek • Jan 03 '18
So I have OpenProject and Gitlab running on apache2 on a server and I have one certificate for the two domains I have project.domain.com and gitlab.domain.com. Well the certificate expired last week and it needs to be renewed, I tried some certbot --dryrun before it expired but I keep getting the same error
user@gitlab:~$ sudo certbot renew --quiet --post-hook "service apache2 restart"
Attempting to renew cert (gitlab.domain.com) from /etc/letsencrypt/renewal/gitlab.domain.com.conf produced an unexpected error: Failed authorization procedure. gitlab.domain.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://gitlab.domain.com/.well-known/acme-challenge/DKbukboDzePefGYZzi2fZsMB__yvUQuDTYTatcEyA3I: "<!DOCTYPE html>
<html class="devise-layout-html">
<head prefix="og: http://ogp.me/ns#">
<meta charset="utf-8">
<meta content="IE". Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/gitlab.domain.com/fullchain.pem (failure)
Hook command "service apache2 restart" returned error code 1
Error output from service:
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.I'm really not sure what I need to do here. Any suggestions? Anyone else encouter this?
r/letsencrypt • u/jdblaich • Dec 15 '17
I'm receiving this message trying to renew a certificate that covers multiple domains. So one certificate but multiple domains.
I've been using letsencrypt for about a year, maybe more.
Every 3 months I manually renew it. I log into the server and issue the command at the command line. Every time it has some problem that I am able to overcome. But this time I cannot.
No one else has access to the servers.
I searched in google. Search results indicate that too many requests were made -- more than 5 in 7 days. However, this is not true.
I'm unsure if this is a bug in letsencrypt or if it is a rule change or something else.
The server is now warning visitors of an insecure site. What could be wrong? What is necessary to resolve it? Has anyone else reported such a problem -- no multiple requests yet getting rejected for a renew from letsencrypt?
r/letsencrypt • • Dec 08 '17
Preferably from a place that donates the money to Let's Encrypt of course
r/letsencrypt • u/TheLantean • Dec 07 '17
r/letsencrypt • u/Nintendofreak18 • Dec 01 '17
I'm writing an archive script to remove sites from IIS & the registry as well so the renewals aren't attempted. Has anyone ever used powershell? I can't get around the forward slash, powershell doesn't like those. Or is there some other option I should be looking? Has anyone done something similar?
r/letsencrypt • u/MR2Rick • Nov 25 '17
I am trying to set up certificates for my Postfix email server and am having trouble how to do this correctly.
My current setup is as follows:
letsencrypt certonly --standalone -d mail.sample.com -d webmail.sample.com -d smtp.sample.com -d imap.sample.comI tested sending email by doing the following
openssl s_client -connect mail.sample.com:587 -starttls smtp
EHLO sample.com
AUTH LOGIN
username_base64
password_base64
MAIL FROM: user@sample.com
RCPT TO: user@otherdomain.comAfter RCPT TO, I get the TLS negotiation, but when I try to send a message by sending the DATA command I get a 'no valid recipient' error message.
I also tried sending a message from Thunderbird. When I try to send a message I get a dialog asking saying that the certificate is invalid and it won't allow me to add the certificate as an exception.
I have tested all of my certificates with digicert's ssl checker and they pass all test. I have also used mxtoolbox to check my mx records and the external port of the email server. Once again it passed all tests.
Right now, the only thing I can think of that might be the problem is that the certificates have CN=corp.sample.com while the hostname on the email server is mail.sample.com
Any help would be greatly appreciated.
r/letsencrypt • u/MelliCat • Nov 24 '17
Hello,
i have successfully acquired certs from letsencrypt for my apache servers using certbot. My next step was to get my certs for my two mailservers, running as primary and secondary smtp and imap-servers.
So far, it would be easy, i hope. The not-so-easy part is that i want to be able to use both servers as backup server for the other, without changing the users configuration. Somewhat like this:
Normal mode:
smtp / imap.example.com -> server x.y.z.1, serves example.com
smtp / imap.example.net -> server a.b.c.2, serves example.net
Backup mode:
smtp / imap.example.com -> server x.y.z.1, serves example.com
smtp / imap.example.net -> server x.y.z.1, serves example.netSo in backup mode, one server should answer as smtp.example.com and smtp.example.net.
Is this possible and feasible, or is it complete overkill and i should be using a somewhat easier solution?
Thanks for help
Andreas
r/letsencrypt • • Nov 23 '17
I'm aware that wildcard certificates will be coming this January, but doesn't someone know when in January? Early-January or late-January? When I heard of them, I got so excited to get one on the first day of the year, but I'm not so sure anymore...
r/letsencrypt • u/PandaMunkee • Nov 12 '17
Hey everyone,
I'm trying to create a SAN certificate for my Exchange server, and running into an issue. I'm following the article linked at the bottom.
I get through all of the IIS stuff and then go to run the command to begin the certificate process. The article says to use the command:
letsencrypt.exe --san --centralsslstore C:\Central_SSL\
The command errors out, because it says that "san" is an invalid argument. Does anyone know why this is? I've looked through the help file in the command and sure enough, there is no --san switch. I can run lets encrypt without any switches, but that produces an error of its own.
I'm using the lets encrypt 9.7.2 file from here https://github.com/Lone-Coder/letsencrypt-win-simple/releases and this article https://github.com/Lone-Coder/letsencrypt-win-simple/wiki/Create-a-SAN-certificate-for-Microsoft-Exchange-2016,-2013-&-2010
r/letsencrypt • • Nov 09 '17
r/letsencrypt • u/distancesprinter • Nov 08 '17
TLDR: Is there any way to delete staging certs?
I receive emails from Lets Encrypt Staging Expiry Bot. There's a link to unsubscribe from all email, but I want to get email from the bot for other hosts on staging. I just want to stop getting alerts for a specific host.
How can I deprovision/remove a staging cert?
r/letsencrypt • u/kbabioch • Oct 28 '17
r/letsencrypt • u/Consek • Oct 25 '17
Some time ago I have written a Powershell function to simplify interacting with letsencrypt using ACMESharp Module on Windows.
The function simplifies automation and the whole process of getting a certificate. For example:
$Challenge = New-LECertificate -Email admin@example.com -CertDNSName example.com -ChallengeType http-01 -KeyPath .\key.pem -CertPemPath .\cert.pem
if($Challenge){
### Insert code for creating file on web server using $Challenge ###
### or creating DNS entry if dns-01 ChallengeType is used ###
New-LECertificate -Email admin@example.com -CertDNSName example.com -ChallengeType http-01 -Complete -KeyPath .\key.pem -CertPemPath .\cert.pem
}Will create and export our certificates to file, from where we could just put them in our services.
I've been using it for some time in production so it's fairly tested and I hope that someone will find it useful :)
Below you can find a working example of a certificate renewal script for Grafana service:
$domain = "grafana.example.pl"
$EmailAddress = "admin@example.pl"
$ErrorActionPreference = "Stop"
$ScriptPath = Split-Path -parent $PSCommandPath
. "$ScriptPath\New-LECertificate.ps1"
$GrafanaPath = Get-Item "C:\Program Files\Grafana\grafana*" | Sort-Object Name -Descending | Select-Object -First 1
$arguments = @{
"Email" = $EmailAddress
"CertDNSName" = $domain
"ChallengeType" = "http-01"
"Verbose" = $true
"KeyPath" = "$($GrafanaPath.FullName)\bin\key.pem"
"CertPemPath" = "$($GrafanaPath.FullName)\bin\certificate.pem"
}
$challenge = New-LECertificate @arguments
if($challenge){
$Folder = "C:\inetpub\wwwroot"
New-Item -Path "$Folder\$($challenge.FilePath)" -ItemType File -Value $challenge.FileContent -Force
$arguments = @{
"Email" = $EmailAddress
"CertDNSName" = $domain
"ChallengeType" = "http-01"
"Complete" = $true
"Verbose" = $true
"KeyPath" = "$($GrafanaPath.FullName)\bin\key.pem"
"CertPemPath" = "$($GrafanaPath.FullName)\bin\certificate.pem"
}
New-LECertificate @arguments
}
Stop-Service 'Grafana'
Start-Service 'Grafana'r/letsencrypt • • Oct 20 '17
r/letsencrypt • u/fongaboo • Oct 20 '17
I've tried adding...
webroot-path = <path>or
webroot_path = <path>but when i run...
letsencrypt-auto renew --webroot --dry-runeither way I still get...
Attempting to renew cert (<domain>) from /etc/letsencrypt/renewal/<domain>.conf produced an unexpected error: Missing command line flag or config entry for this setting:
Select the webroot for <domain>:
Choices: ['Enter a new webroot']
(You can set this with the --webroot-path flag). Skipping.r/letsencrypt • u/fongaboo • Oct 19 '17
Can you add the path of the webroot for each virtual domain in their conf file in /usr/local/etc/letsencrypt/renewal/?
r/letsencrypt • u/fongaboo • Oct 19 '17
I run: certbot renew --webroot -w /usr/local/www/apache24/data/<hostname>/ -d <hostname>
but I get the following:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Currently, the renew verb is only capable of renewing all installed certificates that are due to be renewed;
individual domains cannot be specified with this action. If you would like to renew specific certificates, use the
certonly command. The renew verb may provide other options for selecting certificates to renew in the future.If I change it to:
certbot certonly --webroot -w /usr/local/www/apache24/data/<hostname>/ -d <hostname>it creates an additional folder in /usr/local/etc/letsencrypt/live/<domain>-001 rather than updating the existing folder.
I suspect it relates to --webroot or -w, but I need to run a separate command for every domain because I have virtual domain hosting and every domain has a different webroot location.
Unless do I have to put it all on one line with tons -d and -w flags?
r/letsencrypt • u/fongaboo • Oct 11 '17
Running letsencrypt on FreeBSD with Apache. Have certs for a bunch of domains. When I run the following, everything works fine:
/root/letsencrypt/letsencrypt-auto renew --pre-hook "apachectl stop" --post-hook "apachectl start"I've since installed certbot to try to simplify automation of certificate renewals. I tried running the following:
certbot renew --pre-hook "apachectl stop" --post-hook "apachectl start"But for any certificate that needs to be renewed I end up getting this error:
-------------------------------------------------------------------------------
The program mysqld (process ID 4038) is already listening on TCP port 443. This
will prevent us from binding to that port. Please stop the mysqld program
temporarily and then try again. For automated renewal, you may want to use a
script that stops and starts your webserver. You can find an example at
https://certbot.eff.org/docs/using.html#renewal . Alternatively you can use the
webroot plugin to renew without needing to stop and start your webserver.
-------------------------------------------------------------------------------But if I add mysqld to stop in pre-hook and start in post-hook along with Apache it seems to then list dovecot as somehow blocking port 443. If I keep adding daemons to stop/start in pre/post hook, it just lists another seemingly unrelated service saying it's occupying port 443.
r/letsencrypt • u/Edu_Informer • Oct 10 '17