[BlueOnyx:03285] Re: admserv cert

Michael Stauber mstauber at blueonyx.it
Thu Jan 7 20:18:07 -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




More information about the Blueonyx mailing list