Load User Private Key
Posted: 28 Apr 2021, 10:22
Hi,
I am trying to load the certificate and private key file for "CertificateUserIdentity" for a Client connection.
I could not find any information in the documentation on how to do this, thus searching the forum I got the following two related posts:
Regards,
I am trying to load the certificate and private key file for "CertificateUserIdentity" for a Client connection.
I could not find any information in the documentation on how to do this, thus searching the forum I got the following two related posts:
- https://forum.unified-automation.com/topic323.html using
Code: Select all
UaPkiRsaKeyPair::fromPEMFile(sFileName, szPassword, ...)
- https://forum.unified-automation.com/topic3311.html using
Code: Select all
UaPkiProviderOpenSSL::loadPrivateKey(sPrivateKeyName, fileFormat, sPassword, ...)
Regards,