You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to load the p12 certificate after adding new certificate , it is returning nil on at this line : identity = CertificateIdentity(p12URL: identityURL!, passphrase: "")
Code snippet
if secureMode! {
let caCertificateURL = Bundle.main.url(forResource: "certificate", withExtension: "der")
caCertificate = Certificate(derURL: caCertificateURL!)
let identityURL = Bundle.main.url(forResource: "certificate", withExtension: "p12")
identity = CertificateIdentity(p12URL: identityURL!, passphrase: "")
server = Server(identity: identity, caCertificates: [caCertificate])
} else {
server = Server()
}. What could be possible root cause for this?
The text was updated successfully, but these errors were encountered:
I am unable to load the p12 certificate after adding new certificate , it is returning nil on at this line : identity = CertificateIdentity(p12URL: identityURL!, passphrase: "")
Code snippet
if secureMode! {
let caCertificateURL = Bundle.main.url(forResource: "certificate", withExtension: "der")
caCertificate = Certificate(derURL: caCertificateURL!)
The text was updated successfully, but these errors were encountered: