I am using webmin
+ virtualmin
to host and manage websites. There is Let's encrypt module to configure automatic SSL certificate renewal in some period of time. Certificates are placed in user's home folder - /home/website1
, /home/website2
etc.
I need to configure TomCat to work with these automatically generated certificates.
The problem is that 2 certificates ssl.cert
and ssl.key
have chmod 700 (can't read by group) and owner is website user.
How can I change permissions to 750
while generating new certificates? Or is it another way to let TomCat read these certificates?