![]() Sudo openssl req -new -key "/etc/nginx/ssl/gitlab.key" -out "/etc/nginx/ssl/gitlab.csr" # This command generates the certificate signing request Sudo openssl genrsa -out "/etc/nginx/ssl/gitlab.key" 2048 # If the ssl directory doesn't exist, please create it first The following commands describe the steps to generate your certificate. Additionally, the following steps assume you're using nginx as a web server. If you don't already have OpenSSL installed, please do so. In order to generate the certificate, we use Ubuntu and OpenSSL. Make sure everybody who'll access the GitLab URL knows this. When using self-signed certificates, browsers will show a message that the page you're visiting cannot be trusted. Else, you probably need to generate your own certificate. In case you already bought a certificate from a certificate authority, you can go straight ahead to the next section. Before changing any GitLab configuration, you need a valid SSL certificate.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |