• exec/certtool.js

    From deuce@VERT 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.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT 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.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT 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


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuce@VERT 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 options

    To import, the private key and cert must be encrypted using the system password. On export, the cert/key are encrypted with the system password.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net