Help Needed to Setup REST API for Identity Management in OpenDJ #351
-
Hello, docker exec -it opendj-server-ui /opt/opendj/setup I am able to create identities using LDAP with the following command: ldapmodify -H ldap://opendj.intbrains.com:389 -D "cn=Directory Manager" -w secret -a <<EOF The identities are created successfully, and I can list them without any issues. sudo docker exec -it opendj-server-ui /opt/opendj/bin/dsconfig set-connection-handler-prop When I try to create an identity using the REST API with the following curl command, it fails: curl -X POST The response I receive is: sudo docker exec -it opendj-server-ui /opt/opendj/bin/dsconfig list-http-authorization-mechanisms --hostname localhost --port 5444 --bindDN "cn=Directory Manager" --bindPassword secret --trustAll HTTP Authorization Mechanism : Type sudo docker exec -it opendj-server-ui /opt/opendj/bin/dsconfig list-http-endpoints --hostname localhost --port 5444 --bindDN "cn=Directory Manager" --bindPassword secret --trustAll HTTP Endpoint : Type : enabled Could anyone please guide me on how to correctly set up the REST API to create and manage identities? Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
https://github.com/OpenIdentityPlatform/OpenDJ/wiki/REST-Access-to-OpenDJ-Directory-Server |
Beta Was this translation helpful? Give feedback.
https://github.com/OpenIdentityPlatform/OpenDJ/wiki/REST-Access-to-OpenDJ-Directory-Server