I got it to install and it works ok. But now when I install the cert a process is started that doesn't shutdown and runs up the cpu usage to almost 100%. I have to manually kill the process.
the cpu usage list will show the command as:
whostmgrd - serving *ip of site cert was installed*
LOL, I finaly get the cert to install and to work but now the server is going to crash anyway because of another process. Just my luck.
Anyone have any idea on how to prevent this?
The scrip I am running:
require ("ssl.php"); //holds the ssl cert, key, and cabundle
$user = "sub";
$domain = "subdomain.domain.com";
$xmlapi = new xmlapi($domain);
$installssl = $xmlapi->api2_query($user, "SSL", "installssl", array(cabundle => $cabundle, crt => $crt, domain => $domain, key => $key));
Doing a trace on the process shows this over and over:
write(12, "\27\3\1\0000\34&\360\223N\25\"v\2757J\367`\265mb\353\347 \222\t\232\6\273\302\206\231"..., 53) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
kill(13824, SIGKILL) = -1 EPERM (Operation not permitted)
rt_sigreturn(0x11895410) = -1 EPIPE (Broken pipe)