-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CA: add GlobalSign Atlas as a built-in CA
- Loading branch information
1 parent
1387bc5
commit ce48edd
Showing
2 changed files
with
50 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
src/Certify.Models/CertificateAuthorities/Definitions/GlobalSign.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
using System.Collections.Generic; | ||
using Certify.Models; | ||
|
||
namespace Certify.CertificateAuthorities.Definitions | ||
{ | ||
internal sealed class GlobalSign | ||
{ | ||
public static CertificateAuthority GetDefinition() | ||
{ | ||
return new CertificateAuthority | ||
{ | ||
Id = "acme.atlas.globalsign.com", | ||
Title = "GlobalSign Atlas", | ||
Description = "The (commercial) GlobalSign ACME service issues CA/Browser Forum-compliant publicly trusted TLS certificates, as well as non-public Intranet certificates.", | ||
APIType = CertAuthorityAPIType.ACME_V2.ToString(), | ||
WebsiteUrl = "https://support.globalsign.com/atlas/acme/acme-overview", | ||
PrivacyPolicyUrl = "https://www.globalsign.com/en/repository/GlobalSign-Privacy-Policy.pdf", | ||
ProductionAPIEndpoint = "https://emea.acme.atlas.globalsign.com/directory", | ||
StagingAPIEndpoint = string.Empty, | ||
IsEnabled = true, | ||
IsCustom = false, | ||
SANLimit = 100, | ||
StandardExpiryDays = 90, | ||
RequiresEmailAddress = true, | ||
RequiresExternalAccountBinding = true, | ||
SupportsCachedValidations = true, // GlobalSign Atlas supports cached validations for 365 days | ||
AllowInternalHostnames = true, | ||
SupportedFeatures = new List<string>{ | ||
CertAuthoritySupportedRequests.DOMAIN_SINGLE.ToString(), | ||
CertAuthoritySupportedRequests.DOMAIN_SINGLE_PLUS_WWW.ToString(), | ||
CertAuthoritySupportedRequests.DOMAIN_MULTIPLE_SAN.ToString() | ||
}, | ||
SupportedKeyTypes = new List<string>{ | ||
StandardKeyTypes.RSA256, | ||
StandardKeyTypes.RSA256_3072, | ||
StandardKeyTypes.RSA256_4096, | ||
StandardKeyTypes.ECDSA256, | ||
StandardKeyTypes.ECDSA384, | ||
StandardKeyTypes.ECDSA521 | ||
}, | ||
EabInstructions = "See https://support.globalsign.com/atlas/acme/acme-overview" | ||
}; | ||
} | ||
} | ||
} |