Subj : Re: Use "Real" SSL Certificate
To   : Digital Man
From : dragon
Date : Fri Oct 11 2024 12:44 pm

On 10/10/2024 21:57, Digital Man wrote:
> You mispelled "certtool":

So I did.  Derp.

So I ran:

[C:\sbbs\exec]jsexec certtool --import wildcard_ipingthereforeiam_com.p12

JSexec v3.17c-Win32 (rev 1.210) - Execute Synchronet JavaScript Module
Compiled Oct  8 2019 05:04:30 with MSC 1922

Loading configuration files from C:\sbbs\ctrl
JavaScript-C 1.8.5 2011-03-31
JavaScript: Creating runtime: 8388608 bytes
JavaScript: Initializing context (stack: 16384 bytes)

Reading script from C:\sbbs\exec\certtool.js
!JavaScript  C:\sbbs\exec\certtool.js line 100: SyntaxError: 
unterminated string literal
!Error compiling script from C:\sbbs\exec\certtool.js
!Module (certtool) set exit_code: -1

JavaScript: Destroying context
JavaScript: Destroying runtime

Returning error code: -1


sure enough, line 100 was:

print("Certificate imported, delete "+csr_fname+" after verifying.);

so I corrected the missing quote and ran again:

[C:\sbbs\exec]jsexec certtool --import wildcard_ipingthereforeiam_com.p12

JSexec v3.17c-Win32 (rev 1.210) - Execute Synchronet JavaScript Module
Compiled Oct  8 2019 05:04:30 with MSC 1922

Loading configuration files from C:\sbbs\ctrl
JavaScript-C 1.8.5 2011-03-31
JavaScript: Creating runtime: 8388608 bytes
JavaScript: Initializing context (stack: 16384 bytes)

Reading script from C:\sbbs\exec\certtool.js
C:\sbbs\exec\certtool.js compiled in 0.00 seconds
!JavaScript  C:\sbbs\exec\certtool.js line 72: Error: CryptLib error -43
C:\sbbs\exec\certtool.js executed in 0.26 seconds
!Module (certtool) set exit_code: 1

JavaScript: Destroying context
JavaScript: Destroying runtime

Returning error code: 1

Now what?

Sorry to be a pain.

Is this another matter of my old version 3.16 not working, I wonder.

---