Nupital Pomp Mesmerises

    codius-ca

    1.0.0 • Public • Published

    Codius Certificate Authority

    npm JavaScript Style Guide CircleCI Codecov

    A Codius Certificate Authority is responsible for issuing unique certificates to running Codius instances.

    Setup

    To setup and run a Codius CA, please use the codius-ca command line interface.

    API

    Requesting a certificate

    Request
    POST /certificate HTTP/1.1
    Host: ca.codius.host
    Content-Type: application/json
    Accept: application/json
    Authorization: Basic Zm9vOmJhcgo=
     
    {
      "certificate_signing_request": "-----BEGIN CERTIFICATE REQUEST-----\nMIICqTCCAZECAQAwZDELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWEx\nFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xEjAQBgNVBAoMCUFsaWNlIEx0ZDEUMBIG\nA1UEAwwLZXhhbXBsZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB\nAQC9Gqqax7YEARCcchX6T/4ch4KLSfMF2pI7OaIODUS8ry8dnx5SMG0ToYs7W6b3\ne5IQJukj/cnwJpR1m4pxDMhssJf/EfkrCMltijbJVVahGH518km5lW75EDIZYRCP\nR66fsK/V5p+j99sAfckICdzHuhIhzjQ0M27eL3LUd26e3x2fqK5lMYoZd/L6Xbna\n/twG4UF6I+DzIlevmUFyuu8zen2qf3jtPeSTcchH1t6u7ktLYaT/dopOetYj5qBq\nMevM1n5ASaCxn7wBh0PLzouEkI1hazwJmKj9sP5s9jCoHlfZzh7fAoSn0hHcOL5A\nWhH2IAHmqsQFaaViBpciwT9jAgMBAAGgADANBgkqhkiG9w0BAQsFAAOCAQEAdcGY\noArsOCv7XquGSMyDWIzmYsC5BNidpAeo8Y117JGXyQ1OOYG82j/pcQCjIGzZthrf\nUlBkBPJhDVcegCpM8emkxVVsiE0qCss4DiAI7dNkO4TKy12cso1MeCj9UNcntadZ\nSVKzwErEYJ2ETp/iu63a/Ebk3Eyaa674zXS4sJE8vp1Wyv1mE2Qg4Q1U6K5KQN86\nHihcdhr5eH+0J96yK97mFTlbPsUurNIZ97NIQuBea8/dxdOdeHJFUng6G/yVYWwQ\nTM5e1N27smWJE9gINMwg7PtewamhGjIFak34DgydcK64C+7MdfHUZGZfbXDeHHj8\nKPI6ccjknz4BjumS1w==\n-----END CERTIFICATE REQUEST-----"
    }
    Response
    HTTP/1.1 201 Created
    Content-Type: application/json
     
    {
      "certificate": "-----BEGIN CERTIFICATE-----\nMIIFTjCCAzagAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwVzELMAkGA1UEBhMCR0Ix\nEDAOBgNVBAgMB0VuZ2xhbmQxEjAQBgNVBAoMCUFsaWNlIEx0ZDEiMCAGA1UEAwwZ\nQWxpY2UgTHRkIEludGVybWVkaWF0ZSBDQTAeFw0xNjA5MjkwNjM5MDdaFw0xNzEw\nMDkwNjM5MDdaMGQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYw\nFAYDVQQHDA1TYW4gRnJhbmNpc2NvMRIwEAYDVQQKDAlBbGljZSBMdGQxFDASBgNV\nBAMMC2V4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\nvRqqmse2BAEQnHIV+k/+HIeCi0nzBdqSOzmiDg1EvK8vHZ8eUjBtE6GLO1um93uS\nECbpI/3J8CaUdZuKcQzIbLCX/xH5KwjJbYo2yVVWoRh+dfJJuZVu+RAyGWEQj0eu\nn7Cv1eafo/fbAH3JCAncx7oSIc40NDNu3i9y1Hdunt8dn6iuZTGKGXfy+l252v7c\nBuFBeiPg8yJXr5lBcrrvM3p9qn947T3kk3HIR9beru5LS2Gk/3aKTnrWI+agajHr\nzNZ+QEmgsZ+8AYdDy86LhJCNYWs8CZio/bD+bPYwqB5X2c4e3wKEp9IR3Di+QFoR\n9iAB5qrEBWmlYgaXIsE/YwIDAQABo4IBFTCCAREwCQYDVR0TBAIwADARBglghkgB\nhvhCAQEEBAMCBkAwMwYJYIZIAYb4QgENBCYWJE9wZW5TU0wgR2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VHQ8BAf8EBAMCAYYwDQYJKoZIhvcNAQELBQADggIBAEcMSP4z5Msd\nBiQVtq3uL8FpTV9j7HnfRHcn0ThAIM3HdAoa84rd66L9X+l6ScvQXCfot1SMbjuZ\nQMD+cVxR6faem7A6gv5aN2UkOx3BsOZOW+M6XOK8T17SmE06DPxdfW2Wop/L6Mud\nbVkdlLW4NIGoSeRqrHwLyAzZEhFq5Fq4cMgE7KqAfN120z0ENvFi42goP4DNkB5l\njKOwm7phJ4LpTzSY6H2itEZTFTds1UetG1bhG/IGrWTXQ5ZSEkGXKYuqmZeBppuJ\nvZhix1QS3i+8TAbVkeyyAE8DGnhotgx6fgt2rYrRCjzAXoGV5biOiRS7ITog1rSO\npdS+dGDKsz/KNk0+poq2FzaXLZQUOd6OSTFJGwAWAC3IvbgazmicVN1wipsBQ5vz\naKDBx6q3IyyPZAovVXlygNpPI1w37e33c80GR3Mo4/xX+SoY+o2bzEqpPqAjVTVr\n302yuTP9/c24d6mBY7JfvxNmCRr4SQlS+imY1hgIZQWd52SAO3hvSxW1LCd1DSDs\n4Pn3cFSO+tLThENSw1ZU99cPv3y5+ut33ahz3EuSgzMbreKxCGQYdot5Bw/9Qn20\nY8AkWx4E2xTWXx+yONIOIRcVSbkDVFf2oj8toLall4mpe2qGYIGddsASEZ0kfgcF\nbYUlUGWH8K8tUoKl7x3l60m+N03RXHAs\n-----END CERTIFICATE-----"
    }

    Install

    npm i codius-ca

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    Apache-2.0

    Last publish

    Collaborators

    • justmoon