• letsyncrypt issue

    From Dumas Walker@1:103/705 to digital man on Thu Dec 31 16:46:05 2020
    12/31 16:33:34 evnt DAILY Semaphore signaled for Timed Event: SYNCRYPT
    12/31 16:33:34 evnt SYNCRYPT Running timed event: SYNCRYPT
    12/31 16:33:37 evnt SYNCRYPT Token not found: /sbbs/webv4/root/.well-known/acme -challenge/cr57TBoH_WLgVhK9H05AulsaaESH9YgrUNAmrq2XsKM
    12/31 16:33:37 evnt SYNCRYPT Token not found: /sbbs/webv4/root/.well-known/acme -challenge/cr57TBoH_WLgVhK9H05AulsaaESH9YgrUNAmrq2XsKM
    12/31 16:33:37 evnt SYNCRYPT Token not found: /sbbs/webv4/root/.well-known/acme -challenge/cr57TBoH_WLgVhK9H05AulsaaESH9YgrUNAmrq2XsKM
    12/31 16:33:40 evnt SYNCRYPT !JavaScript : uncaught exception: Authorization failed... https://acme-v02.api.letsencrypt.org/acme/authz-v3/9724016742
    12/31 16:33:40 evnt SYNCRYPT Timed event: SYNCRYPT returned 0

    ; $Id: letsyncrypt.ini,v 1.1 2019/07/24 22:32:54 rswindell Exp $
    ; For use with exec/letsyncrypt.js
    ; See http://wiki.synchro.net/module:letsyncrypt for details

    Host = acme-v02.api.letsencrypt.org
    Directory = /directory
    TOSAgreed = true
    GroupReadableKeyFile = false

    [Domains]
    capitolcityonline.net = /sbbs/webv4/root
    capcity2.synchro.net = /sbbs/webv4/root
    moetiki.ddns.net = /sbbs/webv4/root
    possomso.fsxnet.nz = /sbbs/webv4/root

    [key_id]

    [State]

    Those are the errors when the event runs and the contents of my ini file.

    As a result, I keep getting this error whenever an incoming SMTP event comes in:

    "!ERROR 'Couldn't import the session key used to protect the private key' (-22)
    getting private key"

    But the mail still comes in.

    I also cannot connect via https. Port 443 is open, is pointed to the correct local ipa. sbbs shows no error message when traffic comes in on that port (or when I try it via https://localhost).

    The only thing in the /sbbs/webv4/root/.well-known/acme-challenge directory is a file called webctrl.ini that contains:

    AccessRequirements=

    Thanks!
    #

    ---
    þ Synchronet þ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Dumas Walker on Thu Dec 31 18:54:49 2020
    Re: letsyncrypt issue
    By: Dumas Walker to digital man on Thu Dec 31 2020 04:46 pm

    12/31 16:33:34 evnt DAILY Semaphore signaled for Timed Event: SYNCRYPT
    12/31 16:33:34 evnt SYNCRYPT Running timed event: SYNCRYPT
    12/31 16:33:37 evnt SYNCRYPT Token not found: /sbbs/webv4/root/.well-known/acme -challenge/cr57TBoH_WLgVhK9H05AulsaaESH9YgrUNAmrq2XsKM
    12/31 16:33:37 evnt SYNCRYPT Token not found: /sbbs/webv4/root/.well-known/acme -challenge/cr57TBoH_WLgVhK9H05AulsaaESH9YgrUNAmrq2XsKM
    12/31 16:33:37 evnt SYNCRYPT Token not found: /sbbs/webv4/root/.well-known/acme -challenge/cr57TBoH_WLgVhK9H05AulsaaESH9YgrUNAmrq2XsKM
    12/31 16:33:40 evnt SYNCRYPT !JavaScript : uncaught exception:
    Authorization
    failed... https://acme-v02.api.letsencrypt.org/acme/authz-v3/9724016742 12/31 16:33:40 evnt SYNCRYPT Timed event: SYNCRYPT returned 0

    I think that usually means you previously had LetsEncrypt setup with a different web server and didn't invalidate the old credentials. Best to check with Deuce on irc.synchro.net however if you remain stuck.
    --
    digital man

    This Is Spinal Tap quote #35:
    Jeanine Pettibone: You don't do heavy metal in Dubly, you know.
    Norco, CA WX: 59.9øF, 32.0% humidity, 4 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Bob Roberts@1:103/705 to Dumas Walker on Fri Jan 1 15:48:35 2021
    Re: letsyncrypt issue
    By: Dumas Walker to digital man on
    Thu Dec 31 2020 04:46 pm

    12/31 16:33:37 evnt SYNCRYPT Token not found: /sbbs/webv4/root/.well-known/acme
    SYNCRYPT !JavaScript : uncaught exception: Authorization failed...

    I have the same problem with letsencrypt. I've never gotten it work.... if you find the solution please share!

    Bob Roberts

    ---
    þ Synchronet þ Halls of Valhalla =San=Francisco= Happy New Year!
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Dumas Walker on Sat Jan 2 01:57:02 2021
    Dumas wrote:
    failed... https://acme-v02.api.letsencrypt.org/acme/authz-v3/9724016742

    Did you actually try to go to this url to see what it would return?

    "detail": "DNS problem: NXDOMAIN looking up A for possomso.fsxnet.nz - check that a DNS record exists for this domain",


    oops, no A recorcd.

    Fix your DNS and try again.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Dumas Walker@1:103/705 to BOB ROBERTS on Sat Jan 2 12:51:00 2021
    12/31 16:33:37 evnt SYNCRYPT Token not found: /sbbs/webv4/root/.well-known/acme
    SYNCRYPT !JavaScript : uncaught exception: Authorization failed...

    I have the same problem with letsencrypt. I've never gotten it work.... if
    yo
    find the solution please share!

    I spoke with deuce on irc. He said that it was likely a sign that I had a domain listed that might not be up to date. I had listed all four of the domains that point to my system, including two that are not used by
    synchronet. Once I commented those two out, it worked like a champ.


    * SLMR 2.1a * In plumbing, a straight flush is better than a full house

    ---
    þ Synchronet þ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Dumas Walker@1:103/705 to NELGIN on Sat Jan 2 12:52:00 2021
    Did you actually try to go to this url to see what it would return?

    lol I spelled it wrong. :)


    * SLMR 2.1a * What's a 6.9? 69 interrupted by a period.

    ---
    þ Synchronet þ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Bob Roberts@1:103/705 to Dumas Walker on Sun Jan 3 11:16:45 2021
    Re: letsyncrypt issue
    By: Dumas Walker to BOB ROBERTS on
    Sat Jan 02 2021 12:51 pm

    I have the same problem with letsencrypt. I've never gotten it
    work.... if yo find the solution please share!

    I spoke with deuce on irc. He said that it was likely a sign that I had a domain listed that might not be up to date. I had listed all four of the domains that point to my system, including two that are not used by synchronet. Once I commented those two out, it worked like a champ.

    Okay. I've made some progress. But now I'm getting:

    !JavaScript : uncaught exception: Authorization failed... https://acme-v02.api.letsencrypt.org/acme/authz-v3/9794422225

    When I run
    /sbbs/exec/jsexec letsyncrypt.js --new-key

    I get
    !JavaScript /home/sbbs/sbbs/exec/load/acmev2.js line 307: Error: keyChange did not return 200

    Bob Roberts

    ---
    þ Synchronet þ Halls of Valhalla =San=Francisco=
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deon@1:103/705 to Bob Roberts on Mon Jan 4 10:23:52 2021
    Re: letsyncrypt issue
    By: Bob Roberts to Dumas Walker on Sun Jan 03 2021 11:16 am

    Howdy,

    !JavaScript : uncaught exception: Authorization failed...
    https://acme-v02.api.letsencrypt.org/acme/authz-v3/9794422225

    If you visit this URL you'll get a hint of what acme is doing and where it failed.

    In this case, it was attempting to get the code it supplied, but instead got a 400.

    You might like to double check the URL it used is correct (spelling), the IP address it resolved to is correct (DNS) and then the fact the web server is listening and running on port 80.

    ...ëîåï

    ... Do what you will with this tagline, just don't bother me about it!

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Dumas Walker@1:103/705 to BOB ROBERTS on Sun Jan 3 18:20:00 2021
    Okay. I've made some progress. But now I'm getting:

    !JavaScript : uncaught exception: Authorization failed... https://acme-v02.api.
    etsencrypt.org/acme/authz-v3/9794422225

    Someone pointed out to me that you can go to that https link and find out
    more about what caused the error.

    When I run
    /sbbs/exec/jsexec letsyncrypt.js --new-key

    I get
    !JavaScript /home/sbbs/sbbs/exec/load/acmev2.js line 307: Error: keyChange did
    not return 200

    You might try asking deuce in the synchronet irc. Once I did it all got
    fixed right up.


    * SLMR 2.1a * It ain't over, but the fat lady is clearing her throat.

    ---
    þ Synchronet þ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)