openssl genrsa -out artifactory.mydomain.com.key 4096
openssl req -new -key artifactory.mydomain.com.key -out artifactory.mydomain.com.csr
openssl x509 -in artifactory.mydomain.com.csr -out artifactory.mydomain.com.crt -req -signkey artifactory.mydomain.com.key -days 365