Creating TLS Certificates

Developer/Tester need TLS certificates now and then for testing and development of product supporting secure communucation. Following is the docker-image based procedure to quickly create the TLS certificates.

Steps :

  1. clone the git repo (
  2. docker build -t createtlscert
  3. docker run -it –rm -v <hostdir>:/crt createtlscert <ip address>
    eg : docker run -it –rm -v /tmp/crt:/crt createtlscert

TLS certificates will be created for CN=<ip address> and copied in the specified <hostdir> directory.

Note – Creating TLS certificate using this procedure is only meant for Test purpose only.

“These are my personal views and do not necessarily reflect that of my employer”


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s