Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- How to get support?
- Technical information
- Fast notifications interface
- Error list
Certificate property
Holds certificate/private key information.
Type
ICertificate objectSyntax
- Basic
object.Certificate [= value]
The Certificate(object,value) syntax has these parts:
The Certificate(object,value) syntax has these parts:
object | An expression evaluating to an object of type wodWebServer |
value | ICertificate object |
Remarks
Certificate property must be set when wodWebServer is used in secure mode - with Secure property setting is other than ProtNoSSL. In those cases you need private key and a certificate, so you use to decrypt data coming from the client.Certificate property will hold this key from you, or from wodCertificate object. You can load both certificate (shown to the client) and the private key (for decrypting data).
You can try using it this way:
Dim cert As Certificate
Set cert = new Certificate
cert.Load "mycertificate.cer"
cert.LoadKey "myprivkey.txt", mypassword
Set Web1.Certificate = cert
If you don't specify this property for secure wodWebServer and try to start the server, an error will be generated.