Retrieving SSL Certificates

   635 words    3 minute(s)
I needed a quick and dirty way to retrieve import a ca certificate from my docker registry so I don’t have to use the insecure_registries option in my /etc/docker/daemon.json file. There were several ways to go about this and here they are. Using Grep This option works, except it adds an extra character to the end of the last line. I couldn’t figure out how to strip these off. I think it is some null character or something.

Python Sendmail

   107 words    1 minute(s)
A quick and easy script to send mail with python.