• exec/certtool.js

    From deuce@VERT to CVS commit on Wednesday, February 28, 2018 11:26:51
    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 Wednesday, February 28, 2018 12:48:34
    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 Thursday, January 03, 2019 13:11:40
    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 Monday, January 25, 2021 21:06:37
    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
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, January 16, 2023 21:26:10
    https://gitlab.synchro.net/main/sbbs/-/commit/848cc0bd3e58ee0f2e498c5f
    Modified Files:
    exec/certtool.js
    Log Message:
    Use main.ini instead of main.cnf for system password

    Fixes issue #472

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net