Hello @Andy ,
Thank you for posting here.
Q: Is there any possibility to automatism the certificate request/renewal process with a Windows CA?
A: Auto-enrollment (auto-request) and auto-renewal of certificates are for certificate template.
For certificate auto-enrollment:
Group policy must be set to allow clients to auto-enroll and the types of auto-enrollment allowed. Next, that policy must be pushed out to all of the clients in the domain. Lastly, the certificate authority registered to that domain must have the templates issued for the certificates to be auto-enrolled. These include machine/computer, domain controller, and user certificates.
Here is autoenroll permission on certificate template.
Set Up Automatic Certificate Enrollment (Autoenroll)
https://www.vkernel.ro/blog/set-up-automatic-certificate-enrollment-autoenroll
For certificate renewal:
Renewal. This is the most misunderstood part of the auto-enroll process. Every certificate issued has a renewal period as part of the template. This does not necessarily mean that the certificate will renew at the exact beginning of that period. For renewal of auto-enrolled certificates, two time frames exist before the action is taken.
First the certificate has to have completed 80% of its validity period and be within the renewal period. So as an example, a certificate that is valid for 1 year reaches the 80% mark at around 41.5 weeks and if the cert has a 6 week renewal period, then the renewal would happen at the 46 week period. SO this would happen during the renewal period.
If the validity period is 6 months, the 80% mark would be week 21, but the renewal period would begin week 20.
Here is renewal period and validity period on certificate template.
Tips for Certificate Auto-Enrollment Issuance
https://blog.keyfactor.com/certificate-auto-enrollment-issuance
Because we mainly provide support for Windows, not sure how you perform the initial request certificate for tomcat and apache.
Hope the information above is also helpful.
Should you have any question or concern, please feel free to let us know.
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.