I'm looking at making a plugin that will generate a Multi-Domain SSL Certificate whenever a domain name is added to the server, so that the default HTTPS connection will have a valid hostname for each domain on the box.
I've gotten the needed openssl commands and configuration file to create the proper certificate, I'm just not sure the proper way to integrate this with DA.
I've found a few vague references to DirectAdmin SSL api but I was wondering if there were more directions that were available somewhere on using this API, or if its better to just replace the files for the certificates directly.
It would be great if at leas there was some way with the API to replace the certificate per IP, giving a block command with an example certificate. (If possible leaving the original RSA private key untouched).
Thanks for your help.
I've gotten the needed openssl commands and configuration file to create the proper certificate, I'm just not sure the proper way to integrate this with DA.
I've found a few vague references to DirectAdmin SSL api but I was wondering if there were more directions that were available somewhere on using this API, or if its better to just replace the files for the certificates directly.
It would be great if at leas there was some way with the API to replace the certificate per IP, giving a block command with an example certificate. (If possible leaving the original RSA private key untouched).
Thanks for your help.