<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">How could you create the CSR with only public key?<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 12, 2019, at 3:50 PM, Bharathi Prasad <<a href="mailto:barati.j.prasad@gmail.com" class="">barati.j.prasad@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class="">I have the public key of the client but not the private key. I am required<br class="">to generate a CSR with only public key. I understand private key is required<br class="">for Proof of Possession. However, as per my requirement I am supposed to<br class="">create CSR only with public key and my CA would create a certificate. <br class=""><br class="">I was able to create a CSR with CX509CertificateRequestCertificate and<br class="">CX509Enrollment classes using the available public key. When I try to read<br class="">the contents the of CSR in openssl (i used this command: openssl req -in<br class="">client.csr -noout -text) i get "unable to load X509 request". <br class=""><br class="">Is this happening because the CSR does not contain the signature of private<br class="">key or the CSR is faulty.<br class=""><br class="">Kindly help me.<br class=""><br class="">Regards,<br class="">Bharathi<br class=""><br class=""><br class=""><br class="">--<br class="">Sent from: <a href="http://openssl.6102.n7.nabble.com/OpenSSL-User-f3.html" class="">http://openssl.6102.n7.nabble.com/OpenSSL-User-f3.html</a></div></div></blockquote></div><br class=""><div class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class="Apple-interchange-newline">Regards,</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class=""></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">Paul Yang</div>
</div>
<br class=""></body></html>