Closed yhshin closed 2 years ago
@yhshin Thanks for reporting the issue.
I've fixed the exception during loading CSR from a file.
For the SCEPy issue, Could you please report it on the SCEPy repo? I've taken the base implementation of this client from SCEPy. I'm in no way associated with SCEPy.
As for your last suggestion, generate_csr
is a helper method to quickly generate CSRs without much customization. Ideally, you should be using ScepCSRBuilder
to customize your CSR.
Thanks a lot for kind reply and suggestions !
Thanks a lot for this wonderful package. Now I can try to simplify my scripts which is using OpenSSL and SSCEP.
So far, with my derived class, I can generate csr and key pair with DN and Subject Alternative Names =)
To test enrollment with
SCEPy
, thanks again to introduce it, I tried to load csrfrom_pem_file
but got the following exceptionIt turned out that
__init__()
has to be modified toload
instead of initializingNow I'm having another issue from
SCEPy
Finally, could you update
SigningRequest.generate_csr
to allow other parameters for DN and Subject Alternative Name? I made a simple derived class for it but it would be useful to have the feature in there.