title: Converting CSR to Certificate in Java
body: <p>I'm building a Java SCEP server. This means that when device connects to my server, it writes a certificate signing request to the device's InputStream. I want to be able to read this request and create a signed certificate which I can then write back to the device. Is there a good way to do this in Java (I'm aware of coomand-line tools like openssl and keytool that do this but it's not what I want).  </p>