timtaplin
(Tim Taplin)
1
Trying to setup TLS server and need to provide passphrase for private key.
I'm having a mental block and can't seem to figure out how to use the passPhrase callback. Any examples available ?
lukasa
(Cory Benfield)
2
You'd use it like this:
let context = NIOSSLContext(configuration: configuration) { setter in
setter("my passphrase".utf8)
}
timtaplin
(Tim Taplin)
3
thanks that got me moving forward again.