Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CreateCertificate (0.17 sec)

  1. doc/godebug.md

    Go 1.25 disabled SHA-1 signature algorithms in TLS 1.2 according to RFC 9155.
    The default can be reverted using the `tlssha1=1` setting.
    
    Go 1.25 switched to SHA-256 to fill in missing SubjectKeyId in
    crypto/x509.CreateCertificate. The setting `x509sha256skid=0` reverts to SHA-1.
    
    Go 1.25 corrected the semantics of contention reports for runtime-internal locks,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 08 18:30:38 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    		} else {
    			template.DNSNames = append(template.DNSNames, h)
    		}
    	}
    
    	template.IsCA = true
    	template.KeyUsage |= x509.KeyUsageCertSign
    
    	derBytes, err := x509.CreateCertificate(crand.Reader, &template, &template, publicKey(priv), priv)
    	if err != nil {
    		return nil, nil, fmt.Errorf("Failed to create certificate: %w", err)
    	}
    
    	certOut := bytes.NewBuffer([]byte{})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
Back to top