[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Support for certificate based authentication
[Thread Prev] | [Thread Next]
- Subject: Support for certificate based authentication
- From: rakesh babu <chinnirakesh.babu@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 1 Jul 2020 15:23:37 +0530
- To: libssh@xxxxxxxxxx
Hello Everyone, I Am trying to integrate libssh with netconf. (both at client & server) As part of the integration, I came across 'public-key' authentication. Also, I found more articles that recommend using certificates over actual keys which is because of ease of use and more control over key-management, expiration, etc. Found below available APIs from source code: Support to load certificate is available in *pki_import_cert_buffer*. (pki.c) Support to load public-key and private key is available. (pki.c) Gone through the examples available in 'libssh/libssh-0.9/examples', but couldn't find callbacks to achieve certificate based login, - Loading CA certificate on the client-side to authenticate the server certificate. - Certificate of the client loaded at the server to authenticate the client. Can anyone please guide me through the process to load keys/certificates to achieve 'single sign-on' or provide any links if any. Thanks in advance. -Chinni
Re: Support for certificate based authentication | Jakub Jelen <jjelen@xxxxxxxxxx> |