• Lets Encrypt

    From Holdfast@VERT to alt.bbs.synchronet on Wednesday, August 16, 2023 09:06:29
    From Newsgroup: alt.bbs.synchronet

    Hello, I am on the Linux version of Synchronet and i have enables lets encrypt to enable https. I keep getting this error:

    Fri Aug 11 2023 12:00 am bbs.piratebbs.com ERROR occurred:
    evnt SYNCRYPT !JavaScript /sbbs/exec/load/acmev2.js line 447: Error: get_authorization request did not return 200

    Here is the ctrl/letsyncrypt.ini:

    ```text
    ; $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]
    piratebbs.com = /sbbs/web/root
    bbs.piratebbs.com = /sbbs/web/root
    [key_id] acme-v02.api.letsencrypt.org=https://acme-v02.api.letsencrypt.org/acme/acct/1242793716

    [State]
    ```

    Any help would be greatly appreciated.
    --- Synchronet 3.20a-Linux NewsLink 1.114
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Holdfast on Wednesday, August 16, 2023 11:33:03
    Re: Lets Encrypt
    By: Holdfast to alt.bbs.synchronet on Wed Aug 16 2023 09:06 am

    From Newsgroup: alt.bbs.synchronet

    Hello, I am on the Linux version of Synchronet and i have enables lets encrypt to enable https. I keep getting this error:

    Fri Aug 11 2023 12:00 am bbs.piratebbs.com ERROR occurred:
    evnt SYNCRYPT !JavaScript /sbbs/exec/load/acmev2.js line 447: Error: get_authorization request did not return 200

    Here is the ctrl/letsyncrypt.ini:

    ```text
    ; $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]
    piratebbs.com = /sbbs/web/root
    bbs.piratebbs.com = /sbbs/web/root
    [key_id] acme-v02.api.letsencrypt.org=https://acme-v02.api.letsencrypt.org/acme /acct/1242793716

    [State]
    ```

    Any help would be greatly appreciated.

    Increase the log level to "Debug" and you will get more detail (the actual HTTP response) in the log as well, and that should direct you to the root problem.
    --
    digital man (rob)

    Breaking Bad quote #5:
    Sometimes the forbidden fruit tastes the sweetest. - Hank Schrader
    Norco, CA WX: 88.9øF, 44.0% humidity, 3 mph E wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Holdfast@VERT to alt.bbs.synchronet on Thursday, August 17, 2023 05:47:19
    From Newsgroup: alt.bbs.synchronet

    Any help would be greatly appreciated.
    Increase the log level to "Debug" and you will get more detail (the actual HTTP response) in the log as well, and that should direct you to the root problem.
    --
    digital man (rob)


    Which configuration file?

    Thanks!

    Chris
    --- Synchronet 3.20a-Linux NewsLink 1.114
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Holdfast on Thursday, August 17, 2023 10:38:49
    Re: Re: Lets Encrypt
    By: Holdfast to alt.bbs.synchronet on Thu Aug 17 2023 05:47 am

    From Newsgroup: alt.bbs.synchronet

    Any help would be greatly appreciated.
    Increase the log level to "Debug" and you will get more detail (the actual HTTP response) in the log as well, and that should direct you to the root problem.
    --
    digital man (rob)


    Which configuration file?

    ctrl/sbbs.ini
    --
    digital man (rob)

    Rush quote #78:
    Today's Tom Sawyer, he gets high on you, the space he invades, gets by on you Norco, CA WX: 89.0øF, 36.0% humidity, 0 mph ENE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Holdfast@VERT to alt.bbs.synchronet on Thursday, August 17, 2023 11:13:08
    From Newsgroup: alt.bbs.synchronet

    On Thursday, August 17, 2023 at 12:38:53¨PM UTC-5, Digital Man wrote:
    To: Holdfast
    Re: Re: Lets Encrypt
    By: Holdfast to alt.bbs.synchronet on Thu Aug 17 2023 05:47 am

    From Newsgroup: alt.bbs.synchronet

    Any help would be greatly appreciated.
    Increase the log level to "Debug" and you will get more detail (the actual
    HTTP response) in the log as well, and that should direct you to the root
    problem.
    --
    digital man (rob)


    Which configuration file?
    ctrl/sbbs.ini
    --
    digital man (rob)

    Rush quote #78:
    Today's Tom Sawyer, he gets high on you, the space he invades, gets by on you
    Norco, CA WX: 89.0¨F, 36.0% humidity, 0 mph ENE wind, 0.00 inches rain/24hrs --- Synchronet 3.20a-Linux NewsLink 1.114
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    I set the LogLevel to Debugging and this is the error I received from lets encrypt....
    evnt SYNCRYPT !JavaScript : uncaught exception: Authorization failed... https://acme-v02.api.letsencrypt.org/acme/authz-v3/255855316306
    If letsencrypt is broke I dont mind putting a purchased cert on it, I just cant find any instructions on how to install a purchased cert.
    Thanks for your help and the cool bbs.
    Chris Edwards
    --- Synchronet 3.20a-Linux NewsLink 1.114
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Holdfast@VERT to alt.bbs.synchronet on Thursday, August 17, 2023 11:15:00
    From Newsgroup: alt.bbs.synchronet

    On Thursday, August 17, 2023 at 1:13:10¨PM UTC-5, Holdfast wrote:
    On Thursday, August 17, 2023 at 12:38:53¨PM UTC-5, Digital Man wrote:
    To: Holdfast
    Re: Re: Lets Encrypt
    By: Holdfast to alt.bbs.synchronet on Thu Aug 17 2023 05:47 am

    From Newsgroup: alt.bbs.synchronet

    Any help would be greatly appreciated.
    Increase the log level to "Debug" and you will get more detail (the actual
    HTTP response) in the log as well, and that should direct you to the root
    problem.
    --
    digital man (rob)


    Which configuration file?
    ctrl/sbbs.ini
    --
    digital man (rob)

    Rush quote #78:
    Today's Tom Sawyer, he gets high on you, the space he invades, gets by on you
    Norco, CA WX: 89.0¨F, 36.0% humidity, 0 mph ENE wind, 0.00 inches rain/24hrs
    --- Synchronet 3.20a-Linux NewsLink 1.114
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    I set the LogLevel to Debugging and this is the error I received from lets encrypt....

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

    If letsencrypt is broke I dont mind putting a purchased cert on it, I just cant find any instructions on how to install a purchased cert.

    Thanks for your help and the cool bbs.

    Chris Edwards
    I spoke to soon. I also am getting this error...
    evnt SYNCRYPT !JavaScript /sbbs/exec/load/acmev2.js line 139: Error: newOrder responded with 400 not 201
    --- Synchronet 3.20a-Linux NewsLink 1.114
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Holdfast on Thursday, August 17, 2023 14:16:54
    Re: Re: Lets Encrypt
    By: Holdfast to alt.bbs.synchronet on Thu Aug 17 2023 11:13 am

    From Newsgroup: alt.bbs.synchronet

    On Thursday, August 17, 2023 at 12:38:53¨PM UTC-5, Digital Man wrote:
    To: Holdfast
    Re: Re: Lets Encrypt
    By: Holdfast to alt.bbs.synchronet on Thu Aug 17 2023 05:47 am

    From Newsgroup: alt.bbs.synchronet

    Any help would be greatly appreciated.
    Increase the log level to "Debug" and you will get more detail (the actual
    HTTP response) in the log as well, and that should direct you to the root problem.
    --
    digital man (rob)


    Which configuration file?
    ctrl/sbbs.ini
    --
    digital man (rob)

    Rush quote #78:
    Today's Tom Sawyer, he gets high on you, the space he invades, gets by on you Norco, CA WX: 89.0¨F, 36.0% humidity, 0 mph ENE wind, 0.00 inches rain/24hrs --- Synchronet 3.20a-Linux NewsLink 1.114
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    I set the LogLevel to Debugging and this is the error I received from lets encrypt....
    evnt SYNCRYPT !JavaScript : uncaught exception: Authorization failed... https://acme-v02.api.letsencrypt.org/acme/authz-v3/255855316306


    If you open that link it has more detail:
    Invalid response from http://piratebbs.com/.well-known/acme-challenge/99I54V05pPzENAoPwfzSkFoqrm2s52bA4jrfKJhdjNg: 404"

    If you look at your web server log output from that same time, you should see that request and determine the cause from the subsequent error message. Also double check that your web root dir actually has this .well-known/acme-challenge directory created in it (by letsyncrypt.js). If it doesn't, that likely means you specified a different (wrong) directory location in your letsyncrypt.ini file.


    If letsencrypt is broke I dont mind putting a purchased cert on it, I just cant find any instructions on how to install a purchased cert.

    LetsEncrypt (and LetSyncrypt) work fine. You just have something configured wrong. Keep look at the directory contents and the output (and follow the links) and you'll figure it out.
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #49:
    KD = King Drafus (Allen Christiansen)
    Norco, CA WX: 95.2øF, 29.0% humidity, 17 mph SSW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Holdfast@VERT to alt.bbs.synchronet on Thursday, August 17, 2023 14:44:43
    From Newsgroup: alt.bbs.synchronet

    On Thursday, August 17, 2023 at 4:17:01¨PM UTC-5, Digital Man wrote:
    To: Holdfast
    Re: Re: Lets Encrypt
    By: Holdfast to alt.bbs.synchronet on Thu Aug 17 2023 11:13 am

    From Newsgroup: alt.bbs.synchronet

    On Thursday, August 17, 2023 at 12:38:53¨M UTC-5, Digital Man wrote:
    To: Holdfast
    Re: Re: Lets Encrypt
    By: Holdfast to alt.bbs.synchronet on Thu Aug 17 2023 05:47 am

    From Newsgroup: alt.bbs.synchronet

    Any help would be greatly appreciated.
    Increase the log level to "Debug" and you will get more detail (the actual
    HTTP response) in the log as well, and that should direct you to the root problem.
    --
    digital man (rob)


    Which configuration file?
    ctrl/sbbs.ini
    --
    digital man (rob)

    Rush quote #78:
    Today's Tom Sawyer, he gets high on you, the space he invades, gets by on you Norco, CA WX: 89.0¨, 36.0% humidity, 0 mph ENE wind, 0.00 inches rain/24hrs --- Synchronet 3.20a-Linux NewsLink 1.114
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    I set the LogLevel to Debugging and this is the error I received from lets encrypt....
    evnt SYNCRYPT !JavaScript : uncaught exception: Authorization failed... https://acme-v02.api.letsencrypt.org/acme/authz-v3/255855316306
    If you open that link it has more detail:
    Invalid response from http://piratebbs.com/.well-known/acme-challenge/99I54V05pPzENAoPwfzSkFoqrm2s52bA4jrfKJhdjNg: 404"

    If you look at your web server log output from that same time, you should see that request and determine the cause from the subsequent error message. Also double check that your web root dir actually has this .well-known/acme-challenge directory created in it (by letsyncrypt.js). If it doesn't, that likely means you specified a different (wrong) directory location in your letsyncrypt.ini file.
    If letsencrypt is broke I dont mind putting a purchased cert on it, I just cant find any instructions on how to install a purchased cert.
    LetsEncrypt (and LetSyncrypt) work fine. You just have something configured wrong. Keep look at the directory contents and the output (and follow the links) and you'll figure it out.
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #49:
    KD = King Drafus (Allen Christiansen)
    Norco, CA WX: 95.2¨, 29.0% humidity, 17 mph SSW wind, 0.00 inches rain/24hrs --- Synchronet 3.20a-Linux NewsLink 1.114
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    Got it working. Looks like I setup two domains and the second one wasnt being served. Must be something in the httpd.conf file but im not sure where that is. :)
    Thanks!
    Chris Edwards
    --- Synchronet 3.20a-Linux NewsLink 1.114
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Holdfast on Thursday, August 17, 2023 16:35:09
    Re: Re: Lets Encrypt
    By: Holdfast to alt.bbs.synchronet on Thu Aug 17 2023 02:44 pm

    Got it working.

    Good to hear.

    Looks like I setup two domains and the second one wasnt
    being served. Must be something in the httpd.conf file but im not sure where that is. :)

    Synchronet doesn't use an httpd.conf file, so not sure what you're referring to there (an Apache http config file?).
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #37:
    FTSC = FidoNet Technical Standards Committee
    Norco, CA WX: 90.4øF, 36.0% humidity, 12 mph SSE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Holdfast@VERT to alt.bbs.synchronet on Friday, August 18, 2023 06:25:54
    From Newsgroup: alt.bbs.synchronet



    By: Holdfast to alt.bbs.synchronet on Thu Aug 17 2023 02:44 pm

    Got it working.

    Good to hear.
    Looks like I setup two domains and the second one wasnt
    being served. Must be something in the httpd.conf file but im not sure where that is. :)
    Synchronet doesn't use an httpd.conf file, so not sure what you're referring to there (an Apache http config file?).

    I was just trying to figure out how to have the website load up on piratebbs.com and its CNAME bbs.piratebbs.com.

    Thanks,

    Chris

    --- Synchronet 3.20a-Linux NewsLink 1.114
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net