Bah, doesn't sound like fun and you did say simple :)..
Check out the i2d_X509_REQ and other der to internal functions. You can
read in a request in der format & use it as a "base" to play around
with.
After that, you're on your own w/the request internals ;)
>
>
Sorry Fred, but you did not
Fred Crable wrote:
You could script it as below::
#!/bin/bash
openssl genrsa -out server.key 2048
HOST=`hostname`
openssl req -new -key server.key -out server.crs << EORQ > /dev/null 2>
/dev/null
US
Texas
Richardson
Voyence
Product
${HOST}
[EMAIL PROTECTED]
EORQ
cat server.key server.crs > new
You could script it as below::
#!/bin/bash
openssl genrsa -out server.key 2048
HOST=`hostname`
openssl req -new -key server.key -out server.crs << EORQ > /dev/null 2>
/dev/null
US
Texas
Richardson
Voyence
Product
${HOST}
[EMAIL PROTECTED]
EORQ
cat server.key server.crs > newreq.pem
CA.sh -sign