-
Notifications
You must be signed in to change notification settings - Fork 4
/
certs.go
88 lines (86 loc) · 5.29 KB
/
certs.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
package yves
var caKey = []byte(`-----BEGIN RSA PRIVATE KEY-----
MIIJKgIBAAKCAgEAtCtDZTuR2I41dGW2lS0+mWPwpR+xrm50Wytp0p2wfqoihIjq
9I8fLXkyi6iguySZzbqZQ9epMj7yWl4yknGTWEYFv4rGS2DhMlsWsdY3mGhHWjlK
esFhgCN87IArbi6YnpBEUZqakOFgIkfuZLGbAzsxY3jjJVbj4YiuXW1kmzXvZRLo
H0DowgiNPk2OAaguN+VZZe+DIJnnwL4vtHfCC9ao2qO3J+QjpY/Weq+7+yYd3Noz
aEuwoVkED9CFhp4g2D9iKnDKNCipr1rw+llHbAR7YE5XK2XcVp55w2fhXBKRRxHX
dFmcXtcZGepGdkpDYDjRR6sPqopSPHO6lgT/Mm2hSCV+A4+jeXo68Gtti/nb/E9q
WnKbRRGfnQmCT1ZtSRjuYfIpAHSEPqc1fX8HF2Cq1lULZYxQfVNaDZYYie/RDS9A
u2lDbCqWzELRDwffZ0YXp3cAP3s8mbJsGofkERMXu4uxL+OLmFhHm7mmColHUqoP
4Y4Q8vt6ui2ETMOc1/f777A3dhMkaPtLsusMlwhK0s6d4TWczjEow/lULOzQZiXe
X/bW4ZZI5dJJ7hijuflJdTgBdxxQVVHAgx6Wp0E+DzUqogTXkzLv/mN65haEN2I8
HGBUrvHyHYlqpl7zBIoPgcjzdWz7/zwcRXyhSlZNPI5bjF8iywP4eFf2kZ8CAwEA
AQKCAgAqQE8QyXR9bXQZtNSpjS+19xrzDkiz2FFPJBIwAyzlt25a2GUJLxsnpdl1
qPjw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