Install self-signed certificate for curl (and others)

These are the steps to install a self-signed certificate so you can avoid using the “–insecure” switch for curl and others which communicate over SSL/TLS. For me it was necessary to communicate safe over the network with my tool written in  ruby Test environment: Server: debian 7 (Raspberry PI) with owncloud 9 Client: centOS 7 HOST=rpi01 PORT=443 FILE=$HOST.pem # Test first if you get an certificate error curl -v -O …

Install self-signed certificate for curl (and others) Read More »