There is no such one-step search in WS. You have to go two steps. You can do:
1. getCertificate(String certSNinHex, String issuerDN)
2. findUser(UserMatch usermatch)
Where you get the input to usermatch from the certificate.
Hi @Tomas Gustavssontomas.gustavsson@primekey.com
Yes, i've thought about that way.
But my concern is by using certificate information to retrieve ủser, which property that i use to ensure my user is unique
For example, common name can be duplicated by ejbaca
There is no such one-step search in WS. You have to go two steps. You can do:
1. getCertificate(String certSNinHex, String issuerDN)
2. findUser(UserMatch usermatch)
Where you get the input to usermatch from the certificate.
Hi there,
I'm using EJBCA WS for my application.
The question is, can I retrieve the end entity object or UserDataVOWS from my certificate's serial number?
I see on the admin web, we can search end entity by cert sn in HEX. But there is no method equivalent in EJBCA WS
Am I missing something?
https://download.primekey.com/docs/EJBCA-Enterprise/6_11_1/ws/org/ejbca/core/protocol/ws/client/gen/EjbcaWS.html#createCA-java.lang.String-java.lang.String-java.lang.String-long-java.lang.String-java.lang.String-int-java.lang.String-java.util.List-java.util.List-
This is the api docs for EJBCA WS
There is no such one-step search in WS. You have to go two steps. You can do:
1. getCertificate(String certSNinHex, String issuerDN)
2. findUser(UserMatch usermatch)
Where you get the input to usermatch from the certificate.
Cheers,
Tomas
Save time and money with an Enterprise support subscription. Please see www.primekey.com for more information.
https://www.primekey.com/products/software/
Hi @Tomas Gustavssontomas.gustavsson@primekey.com
Yes, i've thought about that way.
But my concern is by using certificate information to retrieve ủser, which property that i use to ensure my user is unique
For example, common name can be duplicated by ejbaca
Best regards!
Tải Outlook for iOShttps://aka.ms/o0ukef
Từ: Tomas Gustavsson anatom@users.sourceforge.net
Đã gửi: Wednesday, September 2, 2020 12:50:01 PM
Đến: [ejbca:discussion] 123123@discussion.ejbca.p.re.sourceforge.net
Chủ đề: [ejbca:discussion] Retrieve UserData from certificate
There is no such one-step search in WS. You have to go two steps. You can do:
1. getCertificate(String certSNinHex, String issuerDN)
2. findUser(UserMatch usermatch)
Where you get the input to usermatch from the certificate.
Cheers,
Tomas
Save time and money with an Enterprise support subscription. Please see www.primekey.com for more information.
https://www.primekey.com/products/software/
Retrieve UserData from certificatehttps://sourceforge.net/p/ejbca/discussion/123123/thread/29af9695eb/?limit=50#60e7
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/ejbca/discussion/123123/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/