On 08-29-18 19:54, Clifra Jones wrote to all <=-
OK, i am trying to setup LetsEncrypt and the instructions seem quite simple but, I don't see a letsencrypt.ini file in the ctrl directory.
OK, i am trying to setup LetsEncrypt and the instructions seem quite simple but, I don't see a letsencrypt.ini file in the ctrl directory.
Tried that, now I get this.
Reading script from /sbbs/exec/letsyncrypt.js
/sbbs/exec/letsyncrypt.js compiled in 0.00 seconds
Getting directory.
Calling keyChange.
{
"type": "urn:ietf:params:acme:error:malformed",
"detail": "Inner JWS does not contain old key field matching current account key",
"status": 400
}
!JavaScript : uncaught exception: keyChange did not return 200 /sbbs/exec/letsyncrypt.js executed in 0.59 seconds
!Module (letsyncrypt.js) set exit_code: 1
Clifra Jones
Sysop, Days of Old BBS
Hostname: daysofoldbbs.wilhartsolutions.com
Protocols: Telnet, SSH (2222), HTTP
OK I re-ran the script with no parameters and it ran and got a certificate.The
problem is it is connecting to the staging service and retreiving an invalid certificate.staging
Issued by : Fake LE Intermediate X1
I looked this up on their forum and yes, this is what is issued by the
service. When I entered the production URL into the leysyncrypt.ini Host=https://acme-v02.api.letsencrypt.orghttps://communi
Directory=/directory
Then I get an error: Unable to connect
This is a valid URL, https://acme-v02.api.letsencrypt.org/directory works in the browser.
here is a post that states the new acme-v02 production endpoint
ty.letsencrypt.org/t/acme-v2-production-environment-wildcards/55578
OK I re-ran the script with no parameters and it ran and got a certificate. The problem is it is connecting to the staging service and retreiving an invalid certificate.
Issued by : Fake LE Intermediate X1
I looked this up on their forum and yes, this is what is issued by the staging service. When I entered the production URL into the leysyncrypt.ini Host=https://acme-v02.api.letsencrypt.org
Directory=/directory
Then I get an error: Unable to connect
This is a valid URL, https://acme-v02.api.letsencrypt.org/directory works in the browser.
here is a post that states the new acme-v02 production endpoint https://communi ty.letsencrypt.org/t/acme-v2-production-environment-wildcards/55578
Clifra Jones
Sysop, Days of Old BBS
Hostname: daysofoldbbs.wilhartsolutions.com
Protocols: Telnet, SSH (2222), HTTP
Never mind. I'm an idiot.
You do not put https:// in the Host entry in the letsyncrypt.ini file!
Clifra Jones
Sysop, Days of Old BBS
Hostname: daysofoldbbs.wilhartsolutions.com
Protocols: Telnet, SSH (2222), HTTP
Yes I am an idiot for the above but now that it suns with the correct host and appears to successfully download the ceertificate it still shows the staging certificate when browsing the the BBS web site.
Common Name (CN).daysofoldbbs.wilhartsolutions.com
Organization (O).<Not Part Of Certificate>
Organizational Unit (OU).<Not Part Of Certificate>
Common Name (CN).Fake LE Intermediate X1
Organization (O).<Not Part Of Certificate>
Organizational Unit (OU).<Not Part Of Certificate>
Issued On.Wednesday, August 29, 2018 at 8:02:50 PM
Expires On.Tuesday, November 27, 2018 at 7:02:50 PM
Not sure if these times are US east but last time I ran teh script was 10:45. Is there anyway to remove all certificates? I tried --revoke and --force
Clifra Jones
Sysop, Days of Old BBS
Hostname: daysofoldbbs.wilhartsolutions.com
Protocols: Telnet, SSH (2222), HTTP
hostYes I am an idiot for the above but now that it suns with the correct
and appears to successfully download the ceertificate it still shows the staging certificate when browsing the the BBS web site.
Common Name (CN).daysofoldbbs.wilhartsolutions.com
Organization (O).<Not Part Of Certificate>
Organizational Unit (OU).<Not Part Of Certificate>
Common Name (CN).Fake LE Intermediate X1
Organization (O).<Not Part Of Certificate>
Organizational Unit (OU).<Not Part Of Certificate>
Issued On.Wednesday, August 29, 2018 at 8:02:50 PM
Expires On.Tuesday, November 27, 2018 at 7:02:50 PM
Not sure if these times are US east but last time I ran teh script was 10:45. Is there anyway to remove all certificates? I tried --revoke and --force
Clifra Jones
Sysop, Days of Old BBS
Hostname: daysofoldbbs.wilhartsolutions.com
Protocols: Telnet, SSH (2222), HTTP
I got it. I found the ssl.cert in the ctrl directtory, deleted it re-ranthe
letsyncrypt.js script and that fixed it.
For anyones future reference.
letsyncript.ini
Host=acme-v02.api.letsencrypt.org
Directory=/directory
TOSAggreed=true
[Domain]
yourdomain=yourwebroot
Domain may or not be required, I don't know.
Sorry for all the posts. I was pulling my hair out on this.
[Domain]
yourdomain=yourwebroot
Domain may or not be required, I don't know.
I have this format in my ini file, and keep getting an error...
!JavaScript : uncaught exception: newOrder responded with 400 not 201
Re: Re: Letsencryptproblem
By: Draco to Clifra Jones on Sun Sep 02 2018 00:12:22
[Domain]
yourdomain=yourwebroot
Domain may or not be required, I don't know.
I have this format in my ini file, and keep getting an error...
!JavaScript : uncaught exception: newOrder responded with 400 not 201
letsencrypt.js tries to load a section called [Domains] from the ini file, not [Domain]. If your section is called [Domain], this could be the
(some necessary parameters are missing).
I'm just curious though. Why I can't use Certbot to grab a key and import it? This seems like it's reinventing the wheel.
problem
I did forget the "s" so it's now Domains. Now I'm getting:
Calling keyChange.
{
"type": "urn:ietf:params:acme:error:malformed",
"detail": "JWS verification error",
"status": 400
}
!JavaScript : uncaught exception: keyChange did not return 200
I'm just curious though. Why I can't use Certbot to grab a key and import it? This seems like it's reinventing the wheel.
Thank you for your help.
--Draco--
---
N++ Synchronet N++ Loki's Den BBS - http://lokisdenbbs.com
| Sysop: | Winzlo |
|---|---|
| Location: | Minnesota, USA |
| Users: | 11 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 495947:05:08 |
| Calls: | 82 |
| Files: | 1,070 |
| D/L today: |
27 files (11,920K bytes) |
| Messages: | 287,048 |