certiffix

Generate self-signed CA certificates, and certificates signed by your own CA

Usage no npm install needed!

<script type="module">
  import certiffix from 'https://cdn.skypack.dev/certiffix';
</script>

README

Certiffix

Generate development certificates using self-signed CA root certificates. This command will assist you in generating self-signed Certificate Authorities. These can then be used to sign certificate requests. You can then have your browser or system trust these generated authorities, and then all certificates signed by them will be considered valid.

On unix based systems it stores the certificates it generates in ~/.config/certiffix/

Usage:

certiffix {options}



Commands:
|Command|Purpose| |----|----| |certiffix --ca | Generate a self-signed CA Root Certificate. |certiffix | Generate a certificate signed by the specified (selectable) CA Root Certificate.



Arguments:
Note: All arguments are optional. If not specified, the command will prompt for needed values. | Argument | Purpose | |------------------|-------------------| |--ca | If specified without a value, a CA Root Certificate will be generated.
If specified with a value, then the value should be the path to a CA Root Certificate. |--commonName,
--domain
--cn
--common | Domain name to use for certificate. If prefixed with a *., then a wildcard certificate
will be generated. |--country
--c | Country code value to use for the certificate. |--county
--locality
--l | County/Locality value to use for the certificate. |--days | Number of days that this certificate is valid.
Default = 398 |--email | Email address value to use for the certificate. |--ip | IP Addresses to use for EXT data in certificate.
Can be specified multiple times for multiple IP addresses.
Default = 127.0.0.1 |--organization
--org
--o | Organization value to use for the certificate. |--state
--st | State code value to use for the certificate. |--unit
--ou | Unit value to use for the certificate. |--wildcard
--wild | If given, then the certificate will be generated as a wildcard certificate.