On Monday, May 20, 2013, James Coglan wrote: > On 20 May 2013 16:22, Forrest L Norvell > <[email protected]<javascript:_e({}, 'cvml', '[email protected]');> > > wrote: > >> I've never gotten cert stuff to work properly with localhost as the host >> name. Try generating your certificate for lvh.me (*.lvh.me resolve to >> 127.0.0.1 -- super handy) and requesting from same, and that should fix it. >> > > Do you know how to specify the hostname when generating the certs? >
Two ways: 1. If you're using the default, interactive process to generate the cert, provide whatever.lvh.me when prompted for the certificate's "common name." 2. if you're passing a complete X.509 subject to the OpenSSL command (--subj), make sure .../CN=whatever.lvh.me is in the subject. See https://github.com/newrelic/node-newrelic/blob/master/Makefile for an example of generating a CA / cert pair from scratch unattended. F > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to > [email protected]<javascript:_e({}, 'cvml', '[email protected]');> > To unsubscribe from this group, send email to > [email protected] <javascript:_e({}, 'cvml', > 'nodejs%[email protected]');> > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:_e({}, 'cvml', > 'nodejs%[email protected]');>. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
