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 (https://github.com/deepak-ghuge/create-tls-certificates.git)
  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 192.168.122.1

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”

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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