+5
-1
lines changedFilter options
+5
-1
lines changed Original file line number Diff line number Diff line change
@@ -206,13 +206,17 @@ func (cap *CFSSL) SignCSR(csrPEM []byte) (cert []byte, err error) {
206
206
return nil, err
207
207
}
208
208
209
-
hosts := make([]string, len(csr.DNSNames), len(csr.DNSNames)+len(csr.IPAddresses))
209
+
hosts := make([]string, len(csr.DNSNames), len(csr.DNSNames)+len(csr.IPAddresses)+len(csr.URIs))
210
210
copy(hosts, csr.DNSNames)
211
211
212
212
for i := range csr.IPAddresses {
213
213
hosts = append(hosts, csr.IPAddresses[i].String())
214
214
}
215
215
216
+
for i := range csr.URIs {
217
+
hosts = append(hosts, csr.URIs[i].String())
218
+
}
219
+
216
220
sreq := &signer.SignRequest{
217
221
Hosts: hosts,
218
222
Request: string(csrPEM),
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4