-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Description
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?

Metadata
Metadata
Assignees
Labels
No labels