added code, config and docs to create an ssl certificate and use it