Hello
I want to secure RPC endpoint in OpenXPKI. By now I have created new 
authentication stack, new handler using LDAP and new role. Login from GUI works 
perfect - I use users credentials from LDAP and everything is working as 
intended. Now I would like to use the same role for certificate enrollment 
using RPC. In rpc/default.conf file there is a section:

[auth]
stack = _System

and I can change "_System" to my new stack, but I have no idea how to pass user 
credentials. So far I have noticed that when I do

[auth]
stack = myStack
user = user name from LDAP
pass = user password from LDAP

in rpc/default.conf file, it works, but everyone who knows HTTP URI could 
enroll the certificate. Do you have any solution about how to pass user and 
password needed by a handler in an HTTP request?

Lukasz

_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to