Create a self-signed X.509 v3 certificate.
It is recommended to store the generated certificate on disk for reuse, so the application can be recognized across several executions.
- Note
- Only available with open62541 >= v1.3 and OpenSSL/LibreSSL
- Parameters
-
subject | Elements for the subject, e.g. {"C=DE", "O=SampleOrganization", "CN=Open62541Server@localhost"} |
subjectAltName | Elements for SubjectAltName, e.g. {"DNS:localhost", "URI:urn:open62541.server.application"} |
certificateFormat | Certificate format, either DER or PEM |
- Exceptions
-
- See also
- UA_CreateCertificate