[BlueOnyx:03286] Re: admserv cert
Rod Morgan
rmorgan at portmorgan.com
Thu Jan 7 21:48:05 -05 2010
>Hi Rod,
>> I screwed up. On my development box I thought I'd replace the
>> self-signed cert with one from ca-cert. I made a couple mistakes
>> including requiring a pass-phrase (don't ever do that!). I'd like to
>> simply use the command line to regenerate and install a self-signed cert
>> for the admserv process. Since that process occurs in the install, I'm
>> hoping Michael or one of you other wizards can provide the steps.
>I just looked it up and I'd say you can fix it this way:
>First delete the miscreated cert:
>rm /etc/admserv/certs/certificate
>Then run this command ... and yes, it goes all into a single line:
>/usr/bin/openssl genrsa -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime
1024> /etc/admserv/certs/key 2> /dev/null
>Then restart AdmServ for good measure and see if it works again:
>/etc/init.d/admserv restart
>With best regards
>Michael Stauber
Some progress, this command created a new key...but not the certificate. 'admserv restart' errors with a 'missing certificate file' as expected.
And thanks for the fast response!
Rod
More information about the Blueonyx
mailing list