I am using the CsrHelper class from here: Certificate enrollment process
but my default_signature_algorithm is sha512withrsa. Although, when I put the csr in a file to analyse it using openssl's tool to analyze the csr: openssl req -in file.txt -noout -text
The subject, public key algorithm are all fine. The issue is in the signature algorithm where it is sha1withrsaencryption It should be sha512withrsa.
What am I doing wrong? Is there a config file somewhere to modify. I have java 1.8.0_144