• exec/certtool.js

    From deuce@1:103/705 to CVS commit on Wed Feb 28 11:26:51 2018
    exec certtool.js NONE 1.1
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv27711

    Added Files:
    certtool.js
    Log Message:
    Since ACMEv2 endpoint has been delayed, create a small too to generate CSRs
    and import certificate chains.

    This supports two commands and one option:
    --csr
    Supports multiple --domain example.com options (defaults to system.inet_addr)
    Generates a csr on stdout.
    jsexec certtool --domain example.com --domain www.example.com --csr > csr.pem

    --import <file>
    Imports a certificate chain. A certificate chain is two or more
    PEM certificates in a file... ie:
    -----BEGIN CERTIFICATE-----
    MIIFNzCCBB+gAwIBAgISA/+MFKRHU5G75Qe5a0tI9p2rMA0GCSqGSIb3DQEBCwUA
    -----END CERTIFICATE-----
    -----BEGIN CERTIFICATE-----
    MIIEkjCCA3qgAwIBAgIQCgFBQgAAAVOFc2oLheynCDANBgkqhkiG9w0BAQsFADA/
    -----END CERTIFICATE-----
    If the entire chain isn't present, it will be imported, but the TLS
    server won't validate properly.

    This should be usable with Let's Encrypt stuff today.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Feb 28 12:48:34 2018
    exec certtool.js 1.1 1.2
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv4669

    Modified Files:
    certtool.js
    Log Message:
    Don't delete csr.cert, ask the user to after importing.
    This allows using --import again later if something goes wrong.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu Jan 3 13:11:40 2019
    exec certtool.js 1.2 1.3
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv4466

    Modified Files:
    certtool.js
    Log Message:
    Fix SyntaxError: unterminated string literal


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deuce@1:103/705 to Git commit to main/sbbs/master on Mon Jan 25 21:06:37 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/1fb1af9dd572090802b4cc72
    Modified Files:
    exec/certtool.js
    Log Message:
    Add --import-pkcs12 and --export-pkcs12 optionsTo import, the private key and cert must be encrypted using the systempassword. On export, the cert/key are encrypted with the system password.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Mon Jan 16 21:26:10 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/848cc0bd3e58ee0f2e498c5f
    Modified Files:
    exec/certtool.js
    Log Message:
    Use main.ini instead of main.cnf for system passwordFixes issue #472
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)