Letsencrypt - Certificate Authority
How to Generate Self-Signed Certificate?
Anton Putra
March 18, 2021
1 min

Install cfssl tool

  • Download binaries and put them on your PATH
  • Verify the versions
  • Optionally, if you’re having problems with that approach use a package manager such as homebrew if you’re on Mac.

Generate CA (Certificate Authority)

  • Create ca-config.json config file
  • Create certificate signing request (CSR) for CA ca-csr.json.
  • Generate CA
  • Optionally, decode certificate

Generate the certificate for the server

  • Create certificate signing request (CSR) for the server devopsbyexample-csr.json.
  • Generate the certificate
  • Decode certificate

Certificate fields

  • CN: Common Name (AKA CN) represents the server name protected by the SSL certificate.
  • C: country
  • O: organization
  • OU: organizational unit
  • ST: state or province name
  • L: locality



Anton Putra

DevOps Engineer

Big Data | DevOps engineer with hands-on experience in building large, scalable batch and real-time applications with Apache Spark, Hive, Flink on top of Kubernetes; designing and developing CI/CD pipelines.



Social Media


Related Posts

Wildcard Certificate
Get Letsencrypt WILDCARD Certificate?
March 30, 2021
1 min
© 2021, All Rights Reserved.

Quick Links

About UsContact Us

Social Media