Hello Vijayender-
Yes, this can be done through API or CLI as desired. There's a fetch subcommand under the system setup service/tls/caCertificate endpoint, which can be leveraged to collect this from an LDAP server.
Through CLI:
sean10.dcol2> /service/tls/caCertificate/fetch
sean10.dcol2 service tls caCertificate fetch *> ls
Properties
type: CertificateFetchParameters
host: (required)
port: (required)
Through API, you can send a POST to /resources/json/delphix/service/tls/caCertificate/fetch with payload containing host IP or hostname, and the port number; this is typically port 636 as standard for LDAPS:
{
"type": "CertificateFetchParameters",
"host": "yourldaphost.company.com",
"port": 636
}
I hope this helps!
------------------------------
Sean Nothdurft
Senior Principal Technical Support Engineer
Delphix
------------------------------
Original Message:
Sent: 04-27-2023 09:49:26 AM
From: Vijayender Singidi
Subject: import LDAP certificate
Hello All,
is there any way to import LDAP server's certificate through API/CLI.
------------------------------
Vijayender Singidi
------------------------------