Back to product page

CommonName property


Holds common name of the owner.

Type

A String value

Syntax

  • Basic
object.CommonName [= value]
The CommonName(object,value) syntax has these parts:
objectAn expression evaluating to an object of type Certificate.
valueA String value.

Remarks

Common Name is important part of certificate because it holds actual name of host that owns certificate.

For example, if you're connecting to www.somehost.com using SSL, it's common name will be 'www.somehost.com' - on anything else warning message (usually shown by Internet Explorer) will be shown, declaring a problem because it is possible that there is false owner of the certificate.

Platforms

Windows