Sha256: bb821ad2cc17b51fbf51d77085a44e4e04992e35a37d678adf357d57deefa2c0

Contents?: true

Size: 1.07 KB

Versions: 63

Compression:

Stored size: 1.07 KB

Contents

# SSL

## Enabling https for services

In order to test services with ssl enabled, `certificate authority (CA)` certs as well as applicant key pairs have been created and are
located in [tls_certificates/](../../tls_certificates/) folder.

**All certificates are used for testing purposes only and are not present in any of release images.**

## Generating new key pairs

To create new key pair for a new service, following commands can be used:

* creating new private key:

```console
$ cd tls_certificates && mkdir service && cd service
```

```console
$ openssl genrsa -out service.key 4096
```

* creating public key and `certificate signing request (CSR)`

```console
$ openssl req -new -key service.key -out service.csr -subj "/C=US/ST=California/L=San Francisco/O=Gitlab Authors/CN=service.test" -addext "subjectAltName=DNS:service.test,DNS:extra.service.test"
```

```console
$ openssl x509 -req -days 3650 -in service.csr -CA ../authority/ca.crt -CAkey ../authority/ca.key -set_serial 1 -out service.crt -extfile <(printf "subjectAltName=DNS:service.test,DNS:extra.service.test")
```

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
gitlab-qa-14.21.0 docs/developer/ssl.md
gitlab-qa-14.20.0 docs/developer/ssl.md
gitlab-qa-14.19.2 docs/developer/ssl.md
gitlab-qa-14.19.1 docs/developer/ssl.md
gitlab-qa-14.19.0 docs/developer/ssl.md
gitlab-qa-14.18.0 docs/developer/ssl.md
gitlab-qa-14.17.0 docs/developer/ssl.md
gitlab-qa-14.16.0 docs/developer/ssl.md
gitlab-qa-14.15.0 docs/developer/ssl.md
gitlab-qa-14.14.0 docs/developer/ssl.md
gitlab-qa-14.13.0 docs/developer/ssl.md
gitlab-qa-14.12.0 docs/developer/ssl.md
gitlab-qa-14.11.0 docs/developer/ssl.md
gitlab-qa-14.9.0 docs/developer/ssl.md
gitlab-qa-14.8.1 docs/developer/ssl.md
gitlab-qa-14.8.0 docs/developer/ssl.md
gitlab-qa-14.7.0 docs/developer/ssl.md
gitlab-qa-14.6.0 docs/developer/ssl.md
gitlab-qa-14.5.0 docs/developer/ssl.md
gitlab-qa-14.4.0 docs/developer/ssl.md