-
Notifications
You must be signed in to change notification settings - Fork 206
/
legacycert.go
62 lines (60 loc) · 4.02 KB
/
legacycert.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package main
const (
LegacyCaCert = `-----BEGIN CERTIFICATE-----
MIIDcTCCAlmgAwIBAgIJAN+l38eDYtlGMA0GCSqGSIb3DQEBCwUAME8xCzAJBgNV
BAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRcwFQYDVQQKDA5OZXVWZWN0b3Ig
SW5jLjESMBAGA1UEAwwJTmV1VmVjdG9yMB4XDTE2MDUxOTAyMjE0NFoXDTI2MDUx
NzAyMjE0NFowTzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFzAV
BgNVBAoMDk5ldVZlY3RvciBJbmMuMRIwEAYDVQQDDAlOZXVWZWN0b3IwggEiMA0G
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDPdUAzceXRoLfJ0VWyhgm6j+oyPBnx
AyGAVG6jFRuJkraln6yctXu04V4GI6bsjGLClGE4dWleoSqslQAy9JPjHTUC0nWC
ucNMTrNg6so3UcXgy1wzyuiAnCn/xb5Yct8PfP8cmdSWr+D98pLV4mtjBWHIUfrA
89skLCrbZgPYmbNWSBJ4Z80lQ9J0eQ5LHkHqBnhaZ3a781p6n0qe6UQ+wNDl7ZaD
XS2kmfQYY1rFZ4mo7LFPtPtTac3WeMNLDGIJoVwvkrJwRlm8TEB3zvkK1lxCeiHI
ClnIq1cgpw5mqiC16ofFkxyFPT+ZBBOPdB55OxFO1SIPnlb+jK2tN74bAgMBAAGj
UDBOMB0GA1UdDgQWBBSulkDMGbtLm/vz34w1ofRKW2A8FjAfBgNVHSMEGDAWgBSu
lkDMGbtLm/vz34w1ofRKW2A8FjAMBgNVHRMEBTADAQH/MA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