1*ebfedea0SLionel Sambuc=pod 2*ebfedea0SLionel Sambuc 3*ebfedea0SLionel Sambuc=head1 NAME 4*ebfedea0SLionel Sambuc 5*ebfedea0SLionel Sambucnseq - create or examine a netscape certificate sequence 6*ebfedea0SLionel Sambuc 7*ebfedea0SLionel Sambuc=head1 SYNOPSIS 8*ebfedea0SLionel Sambuc 9*ebfedea0SLionel SambucB<openssl> B<nseq> 10*ebfedea0SLionel Sambuc[B<-in filename>] 11*ebfedea0SLionel Sambuc[B<-out filename>] 12*ebfedea0SLionel Sambuc[B<-toseq>] 13*ebfedea0SLionel Sambuc 14*ebfedea0SLionel Sambuc=head1 DESCRIPTION 15*ebfedea0SLionel Sambuc 16*ebfedea0SLionel SambucThe B<nseq> command takes a file containing a Netscape certificate 17*ebfedea0SLionel Sambucsequence and prints out the certificates contained in it or takes a 18*ebfedea0SLionel Sambucfile of certificates and converts it into a Netscape certificate 19*ebfedea0SLionel Sambucsequence. 20*ebfedea0SLionel Sambuc 21*ebfedea0SLionel Sambuc=head1 COMMAND OPTIONS 22*ebfedea0SLionel Sambuc 23*ebfedea0SLionel Sambuc=over 4 24*ebfedea0SLionel Sambuc 25*ebfedea0SLionel Sambuc=item B<-in filename> 26*ebfedea0SLionel Sambuc 27*ebfedea0SLionel SambucThis specifies the input filename to read or standard input if this 28*ebfedea0SLionel Sambucoption is not specified. 29*ebfedea0SLionel Sambuc 30*ebfedea0SLionel Sambuc=item B<-out filename> 31*ebfedea0SLionel Sambuc 32*ebfedea0SLionel Sambucspecifies the output filename or standard output by default. 33*ebfedea0SLionel Sambuc 34*ebfedea0SLionel Sambuc=item B<-toseq> 35*ebfedea0SLionel Sambuc 36*ebfedea0SLionel Sambucnormally a Netscape certificate sequence will be input and the output 37*ebfedea0SLionel Sambucis the certificates contained in it. With the B<-toseq> option the 38*ebfedea0SLionel Sambucsituation is reversed: a Netscape certificate sequence is created from 39*ebfedea0SLionel Sambuca file of certificates. 40*ebfedea0SLionel Sambuc 41*ebfedea0SLionel Sambuc=back 42*ebfedea0SLionel Sambuc 43*ebfedea0SLionel Sambuc=head1 EXAMPLES 44*ebfedea0SLionel Sambuc 45*ebfedea0SLionel SambucOutput the certificates in a Netscape certificate sequence 46*ebfedea0SLionel Sambuc 47*ebfedea0SLionel Sambuc openssl nseq -in nseq.pem -out certs.pem 48*ebfedea0SLionel Sambuc 49*ebfedea0SLionel SambucCreate a Netscape certificate sequence 50*ebfedea0SLionel Sambuc 51*ebfedea0SLionel Sambuc openssl nseq -in certs.pem -toseq -out nseq.pem 52*ebfedea0SLionel Sambuc 53*ebfedea0SLionel Sambuc=head1 NOTES 54*ebfedea0SLionel Sambuc 55*ebfedea0SLionel SambucThe B<PEM> encoded form uses the same headers and footers as a certificate: 56*ebfedea0SLionel Sambuc 57*ebfedea0SLionel Sambuc -----BEGIN CERTIFICATE----- 58*ebfedea0SLionel Sambuc -----END CERTIFICATE----- 59*ebfedea0SLionel Sambuc 60*ebfedea0SLionel SambucA Netscape certificate sequence is a Netscape specific form that can be sent 61*ebfedea0SLionel Sambucto browsers as an alternative to the standard PKCS#7 format when several 62*ebfedea0SLionel Sambuccertificates are sent to the browser: for example during certificate enrollment. 63*ebfedea0SLionel SambucIt is used by Netscape certificate server for example. 64*ebfedea0SLionel Sambuc 65*ebfedea0SLionel Sambuc=head1 BUGS 66*ebfedea0SLionel Sambuc 67*ebfedea0SLionel SambucThis program needs a few more options: like allowing DER or PEM input and 68*ebfedea0SLionel Sambucoutput files and allowing multiple certificate files to be used. 69*ebfedea0SLionel Sambuc 70*ebfedea0SLionel Sambuc=cut 71