On Fri, May 26, 2023 at 02:10:15PM -0400, Dan Ritter wrote:
> to...@tuxteam.de wrote: 
> > On Fri, May 26, 2023 at 12:05:18PM -0400, Dan Ritter wrote:
> > > > "combine priv.pem with stunnel.pem"
> > > > 
> > > > What is meant by combine?  Is there a syntax to put the private and 
> > > > public keys in one file?
> > > 
> > > cat priv.pem stunnel.pem > combined.pem
> > 
> > I thought of that, too. Perhaps that's what pkcs12 -export does?
> 
> That does the concatenation, but then it specifies the output
> format as pkcs12 instead of pem (pem is the BEGIN CERTIFICATE
> base64 encoded text). If it works, it's because whatever is
> reading it can handle pkcs12.

D'oh. In that case it'd be "... x509 -outform PEM..." or some
such. But if cat works, the merrier :)

> Which is moderately likely to be openssl (as a lib) as well...

I must admit that I take a couple of rounds of trial & error
in those things.

Thanks+cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to