- I tested to generate the csr file of the following link.
http://www.journaldev.com/223/generating-a-certificate-signing-request-using-java-api
- Output .key and .req file By this using this java program
for .req file ::::::::
BufferedOutputStream bos1 = new BufferedOutputStream( new FileOutputStream(txtRequest.getText())); bos1.write(csr.getBytes());
for .key file ::::::::
BufferedOutputStream bos2 = new BufferedOutputStream( new FileOutputStream(txtPrivateKey.getText())); bos2.write(getPrivateKey().getEncoded());
- produce .pfx by using other C# application program.
- I install this .pfx file in my computer, error occurred...
An internal error occurred.The private key that you are importing might require a cryptographic service provider that is not installed on your system.
I don't know how to fix this error. If you know, please explain me.
Thanks.