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