• Adam Langley's avatar
    crypto/tls: generate random serial numbers. · 1dabd716
    Adam Langley authored
    NSS (used in Firefox and Chrome) won't accept two certificates with the same
    issuer and serial. But this causes problems with self-signed certificates
    with a fixed serial number.
    
    This change randomises the serial numbers in the certificates generated by
    generate_cert.go.
    
    R=golang-dev, r
    CC=golang-dev
    https://golang.org/cl/38290044
    1dabd716
generate_cert.go 3.18 KB