Commit graph

18 commits

Author SHA1 Message Date
GitLab Bot
ca3ff7f842 Add latest changes from gitlab-org/gitlab@master 2022-10-06 21:09:01 +00:00
GitLab Bot
1bb7f81e23 Add latest changes from gitlab-org/gitlab@master 2022-09-28 15:09:17 +00:00
GitLab Bot
eb3a23aaaa Add latest changes from gitlab-org/gitlab@master 2022-09-28 12:07:50 +00:00
GitLab Bot
acda833a93 Add latest changes from gitlab-org/gitlab@master 2022-08-05 06:11:46 +00:00
GitLab Bot
7c42073320 Add latest changes from gitlab-org/gitlab@master 2022-06-01 09:09:17 +00:00
GitLab Bot
507c0e71cd Add latest changes from gitlab-org/gitlab@master 2021-01-27 12:09:01 +00:00
GitLab Bot
4c5468b408 Add latest changes from gitlab-org/gitlab@master 2020-06-24 15:08:50 +00:00
GitLab Bot
4e81d9c050 Add latest changes from gitlab-org/gitlab@master 2020-05-19 06:08:03 +00:00
GitLab Bot
ae93b28401 Add latest changes from gitlab-org/gitlab@master 2020-04-14 21:09:52 +00:00
GitLab Bot
874ead9c3a Add latest changes from gitlab-org/gitlab@master 2020-04-14 15:09:44 +00:00
GitLab Bot
2c72daf2f1 Add latest changes from gitlab-org/gitlab@master 2020-03-30 18:08:07 +00:00
GitLab Bot
c859c3bfd2 Add latest changes from gitlab-org/gitlab@master 2020-01-21 15:08:26 +00:00
GitLab Bot
40254b9ace Add latest changes from gitlab-org/gitlab@master 2020-01-17 21:08:29 +00:00
GitLab Bot
b0f27742e7 Add latest changes from gitlab-org/gitlab@master 2020-01-16 00:08:32 +00:00
Vladimir Shushlin
7b5936ebda Remove auto ssl feature flags
* remove feature flag for admin settings
* remove feature flag for domain settings
2019-07-12 16:53:44 +00:00
Vladimir Shushlin
7f85e92ff1 Speed up obtaining Let's Encrypt certificates 2019-06-26 11:47:21 +00:00
Vladimir Shushlin
6119d5ad75 Don't show private keys for letsencrypt certs
Adds enum certificate_source to pages_domains table
with default manually_uploaded

Mark certificates as 'gitlab_provided'
if the were obtained through Let's Encrypt

Mark certificates as 'user_provided' if they were uploaded through
controller or api

Only show private key in domain edit form if it is 'user_provided'

Only show LetsEncrypt option if is enabled by application settings
(and feature flag)

Refactor and fix some specs to match new logic

Don't show Let's Encrypt certificates as well
2019-06-21 12:06:12 +00:00
Vladimir Shushlin
c3338c920d Add pages domains acme orders
Extract acme double to helper

Create ACME challanges for pages domains

* Create order & challange through API
* save them to database
* request challenge validation

We're saving order and challenge as one entity,
that wouldn't be correct if we would order certificates for
several domains simultaneously, but we always order certificate
per domain

Add controller for processing acme challenges redirected from pages

Don't save acme challenge url - we don't use it

Validate acme challenge attributes

Encrypt private_key in acme orders
2019-06-06 18:55:31 +00:00