From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <82c890d00701090044u684ad3bfs78d2381dbca2523@mail.gmail.com> Date: Tue, 9 Jan 2007 09:44:19 +0100 From: "Gabriel Diaz" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] cert signing request In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_97928_27637927.1168332259604" References: <39355.66.222.64.178.1168312418.squirrel@66.222.64.178> Topicbox-Message-UUID: ff5fe892-ead1-11e9-9d60-3106f5b1d025 ------=_Part_97928_27637927.1168332259604 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline hello i think this doesn't work if you want to ask Verisign to sign your request, isn't it?, but i think libsec has almost all the code to build a request as in rfc2511 :-? am i wrong? slds. gabi On 1/9/07, Charles Forsyth wrote: > > > As far as I know libsec still doesn't know how to write x509. > > rsa(8) has rsa2x509 and an example > Generate a fresh key and use it to start a TLS-enabled web > server: > > auth/rsagen -t 'service=tls owner=*' >key > auth/rsa2x509 'C=US CN=*.cs.bell-labs.com' key | > auth/pemencode CERTIFICATE >cert > cat key >/mnt/factotum/ctl > ip/httpd/httpd -c cert > ------=_Part_97928_27637927.1168332259604 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline
hello
 
i think this doesn't work if you want to ask Verisign to sign your request, isn't it?, but i think libsec has almost all the code to build a request as in rfc2511 :-? am i wrong?
 
slds.
 
gabi


 
On 1/9/07, Charles Forsyth <forsyth@terzarima.net> wrote:
> As far as I know libsec still doesn't know how to write x509.

rsa(8) has rsa2x509 and an example
         Generate a fresh key and use it to start a TLS-enabled web
         server:

              auth/rsagen -t 'service=tls owner=*' >key
              auth/rsa2x509 'C=US CN=*.cs.bell- labs.com' key |
                   auth/pemencode CERTIFICATE >cert
              cat key >/mnt/factotum/ctl
              ip/httpd/httpd -c cert

------=_Part_97928_27637927.1168332259604--