Subj : letsyncrypt authentication error
To   : all
From : bbsing
Date : Wed Nov 13 2024 11:01 pm

  Re: letscrypt
  By: MRO to Digital Man on Mon Sep 16 2024 08:45:25

I've followed the wiki, and for the most part things seem straight foward.

Port 80 and 443 are open.

however I'm getting an erro with timed event, and jsexec letsyncrypt.js

Any idea why the error?


Timed event also produced authentication error exit_code: 1

../jsexec letsyncrypt.js

JSexec v3.20a-Linux master/57c2367a5 - Execute Synchronet JavaScript Module
Compiled Sep 18 2024 22:26 with GCC 10.2.1

Loading configuration files from /home/myuser/sbbs/ctrl
JavaScript-C 1.8.5 2011-03-31
JavaScript: Creating runtime: 167772160 bytes

Reading script from /home/myuser/sbbs/repo/exec/letsyncrypt.js
/home/synchrobbs/sbbs/repo/exec/letsyncrypt.js compiled in 0.01 seconds
!JavaScript : uncaught exception: Authorization failed... https://acme-v02.api.letsencrypt.org/acme/authz-v3/429912383517
/home/myuser/sbbs/repo/exec/letsyncrypt.js executed in 42.64 seconds
!Module (letsyncrypt.js) set exit_code: 1

JavaScript: Destroying context
JavaScript: Destroying runtime


==================================================
my letsyncrypt.ini .. a bit confused on key pair for lunarout.synchro.net.
I've placed my sbbs in a /home/[user]/sbbs directory.
I'm not sure if that key pair is incorrect.
Although I did symlink /sbbs to /home/[user]/sbbs
==================================================


cat ../ctrl/letsyncrypt.ini
; 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]
lunarout.synchro.net = /sbbs/webv4/root
[key_id]

[State]

---