• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Error when renewing SSL certificate

jericho_zyber

New Pleskian
Server operating system version
CentOS release 6.10 (Final)
Plesk version and microupdate number
Plesk Obsidian (Version 18.0.31 Update #2, last updated on Dec 1, 2020 05:29 AM)
I'm trying to reissue the certificate of a domain by:
1. Selecting autofrance.co.nz domain
2. SSL/TLS Certificates
3. Reissue Certificate
4. Install a free basic certificate provided by Let's Encrypt
5. Tick all checkboxes
6. Get it free

But I'm prompted with:
Could not issue an SSL/TLS certificate for autofrance.co.nz

Details

Could not issue a Let's Encrypt SSL/TLS certificate for autofrance.co.nz.

Could not access the following file or directory: '/var/www/vhosts/default/htdocs/.well-known/acme-challenge/4IXobhK3i_X3blijGIfp3Q37mE_2znDq3ncONrakc2I'.

Please make sure that the domain's system user has read and write access to this file or directory.

Details
Cannot write file: '/var/www/vhosts/default/htdocs/.well-known/acme-challenge/4IXobhK3i_X3blijGIfp3Q37mE_2znDq3ncONrakc2I'.
 

Attachments

  • Screenshot at Oct 27 15-17-20.png
    Screenshot at Oct 27 15-17-20.png
    65.9 KB · Views: 6
Please make sure that the domain's system user has read and write access to this file or directory.
...
Cannot write file: '/var/www/vhosts/default/htdocs/.well-known/acme-challenge ...

/var/www/vhosts/default
/var/www/vhosts/default/system
/var/www/vhosts/default/system/.well-known
/var/www/vhosts/default/system/.well-known/acme-challenge
all need drwxr-xr-x (0755), owner root, group root. The token files are also owned by root, group rout.
 
Back
Top