Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addresses (0.14 sec)

  1. cmd/test-utils_test.go

    		BasicConstraintsValid: true,
    	}
    
    	hosts := strings.Split(host, ",")
    	for _, h := range hosts {
    		if ip := net.ParseIP(h); ip != nil {
    			template.IPAddresses = append(template.IPAddresses, ip)
    		} else {
    			template.DNSNames = append(template.DNSNames, h)
    		}
    	}
    
    	template.IsCA = true
    	template.KeyUsage |= x509.KeyUsageCertSign
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top