Hi all,
I have received a request to generate a CSR as per the requirements below:
In the production environment, a CSR must be generated using a FIPS 140-2 level 2 compliant Hardware Security Module (HSM) such as Azure KV HSM, Amazon CloudHSM, GoogleCloudHSM (this is not an exhaustive list).
To create a valid authentication profile:
Generate your public key and private key pair in PKCS #8 format
In the simulation environment, you can utilise open source tools to store your private key. In the production environment, you must use a physical or virtual HSM solution to store your private key (see HSM requirements above)
Generate your Certificate Signing Request (CSR) in PKCS #10 format which contains your certificate and public key
Save your CSR as a .csr file
Now, I have never been good with certificates and all the stuff around that.... but as we use Azure, I've thought it would be quite straight forward so I decided to explore "Azure KV HSM"
... I have managed to create a KEY in KV HSM but not sure what would be the next step..... The key generated in the vault allows me to download a "public key" in PEM format so I just cannot figure out how to get a CSR that I could then upload to the required web app as per the steps above... so I got stuck at point 3
spend hours and hours on researching to achieve the required above... but just cant figure it out...
Any help would be great :)