Impossible since the request is signed by the private key of the
requester.
Karsten Spang schrieb:
>
> Is it possible to generate a certificate request with the openssl command line
> tool, using an RSA public key only? I tried various combinations of options, but
> I only managed to make it read a private key. Can the library do it, if I write
> a simple front-end?
>
> The reason I need this, is that the key pair is generated by a router, which
> keeps its private key private. All there is available is a hex dump of the
> public key. I reencoded it into base 64, and added begin and end lines, such
> that it looks like:
> -----BEGIN RSA PUBLIC KEY-----
> ICAzMDVDMzAwRCAwNjA5MkE4NiA0ODg2RjcwRCAwMTAxMDEwNSAwMDAzNEIwMCAzMDQ4MDI0
> MSAwMEQ2NEZENSA2QzUwQjU0MCAKICA0OTU5MDc5NCA2OEY1REY4NiA2Q0REQjk1OCAyMURB
> RTk0QyA2OEJFNzI5NiBCQTI3NkVEQiAwRDVCQjRENyA2Mzg0NzgzRiAKICAyOTlGOTgyNiA5
> RDJBMUNDRSA3OTNBRUJBNSA2ODJGODFFOSBGNEQ5OTMzNyBDQzNGRTE4MiBFQjAyMDMwMSAw
> MDAxCg==
> -----END RSA PUBLIC KEY-----
>
> Karsten
> --
> Karsten Spang
> Senior Software Developer, Ph.D.
> Belle Systems
> E-mail: [EMAIL PROTECTED]
> Tel.: +45 59 44 25 00
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
--
Holger Reif Tel.: +49 361 74707-0
SmartRing GmbH Fax.: +49 361 7470720
Europaplatz 5 [EMAIL PROTECTED]
D-99091 Erfurt WWW.SmartRing.de
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]