AutoSSL fails but has permissions

mallardglyder

Registered
Jun 11, 2015
2
0
51
Des Moines, Iowa
cPanel Access Level
Root Administrator
The AutoSSL script is a little heavy-handed when checking permissions/ownership of files. We use a custom SVN tool which runs as 'nobody' so all site files are: user=[site name] and group=nobody. This works fine for all things except the AutoSSL script, apparently because rather than checking if it has permissions to write a file in the user's folder, it checks to be sure the ownership of files is user=[site name] and group=[site name]. Even though AutoSSL would have permission, it fails because the ownership isn't what it expected.
Are there plans to correct this or is it recommended to create a hook to modify the ownership of the files before and after AutoSSL runs? That seems like a messy solution so I'm very interested in an alternative.
 

cPWilliamL

cP Technical Analyst II
Staff member
May 15, 2017
258
30
103
America
cPanel Access Level
Root Administrator
Hi @mallardglyder,

Would you mind opening a ticket with Support so we can check this issue for you? Allowing us to investigate the setup would let us see if there are any issues or improvements that could be addressed with AutoSSL.

Thanks,