//okhttp-tls/okhttp3.tls/HeldCertificate/Builder/commonName
commonName¶
[jvm]\ fun commonName(cn: String): HeldCertificate.Builder
Set this certificate’s common name (CN). Historically this held the hostname of TLS certificate, but that practice was deprecated by RFC 2818 and replaced with addSubjectAlternativeName. If unset a random string will be used.