Nikita Bedmutha
2017-01-25 05:27:40 UTC
Hi,
When I tried the SOAP based web service call 'certificateRequest' through
SOAPUI and java code in eclipse to sign a CSR,
we have to send user data(end-entity) i.e. UserDataVOWS along with the
caName and CSR. This call returns a certificate
signed by the requested CA. It seems that, a new end entity(user) is
created on the fly during this call and then certificate
is signed for it and returned.
Now if we make repetitive same calls, without changing user, certificate is
generated each time.
When observed in database, the UserData has that user entry in it, and
seems that user data row is overwritten
each time we make the call. Also the count of certificates issued to this
user increases.
Now when I try to achieve the same thing using web GUI of EJBCA, hitting
the request for Create Certificate from
CSR for the same user used using SOAPUI, it returns :
'Wrong user status! To generate a certificate for a user the user must have
status New, Failed or In process.'
When checked, the user has status 40 (GENERATED), and hence it failed.
So does that mean the certificateRequest() call marks the user NEW each
time we make the call?
Regards,
Nikita Bedmutha
Software Engineer | m: +91 94042 02790 | [image: G]
G <http://www.linkedin.com/in/nikitabedmutha>reat Software Laboratory
<http://www.gslab.com/>
When I tried the SOAP based web service call 'certificateRequest' through
SOAPUI and java code in eclipse to sign a CSR,
we have to send user data(end-entity) i.e. UserDataVOWS along with the
caName and CSR. This call returns a certificate
signed by the requested CA. It seems that, a new end entity(user) is
created on the fly during this call and then certificate
is signed for it and returned.
Now if we make repetitive same calls, without changing user, certificate is
generated each time.
When observed in database, the UserData has that user entry in it, and
seems that user data row is overwritten
each time we make the call. Also the count of certificates issued to this
user increases.
Now when I try to achieve the same thing using web GUI of EJBCA, hitting
the request for Create Certificate from
CSR for the same user used using SOAPUI, it returns :
'Wrong user status! To generate a certificate for a user the user must have
status New, Failed or In process.'
When checked, the user has status 40 (GENERATED), and hence it failed.
So does that mean the certificateRequest() call marks the user NEW each
time we make the call?
Regards,
Nikita Bedmutha
Software Engineer | m: +91 94042 02790 | [image: G]
G <http://www.linkedin.com/in/nikitabedmutha>reat Software Laboratory
<http://www.gslab.com/>