Hi All,
I am encountering an issue during the installation of Smart Connect Server 7.5.9 in a Docker environment. The error occurs when starting the frontend service, specifically during the SSL certificate generation process, which prevents Apache from running properly. Below are the log details:
/usr/local/bin/generate-certificate: generating new certificate
ecparam: Can't open "/usr/local/apache2/conf/server.key" for writing, Is a directory
Could not read private key from /usr/local/apache2/conf/server.key
chmod: changing permissions of '/usr/local/apache2/conf/server.key': Operation not permitted
chmod: changing permissions of '/usr/local/apache2/conf/server.crt': Operation not permitted
/usr/local/bin/generate-certificate: generated /usr/local/apache2/conf/server.key and /usr/local/apache2/conf/server.crt
AH00526: Syntax error on line 44 of /usr/local/apache2/conf/extra/httpd-vhosts.conf:
SSLCertificateFile: file '/usr/local/apache2/conf/server.crt' does not exist or is empty
Key Observations:
- Permissions: The system returns permission errors when attempting to create or modify the
server.key
andserver.crt
files. - Directory Structure: The path
/usr/local/apache2/conf/server.key
is being interpreted as a directory, which might indicate a misconfiguration in the Docker volume or the certificate generation script. - Apache Configuration: Line 44 of the
httpd-vhosts.conf
file points to a certificate that does not exist or is empty, causing Apache to fail on startup.
I would appreciate any guidance or recommended adjustments to resolve this issue during the installation of Smart Connect Server 7.5.9 on Docker.
Thank you for your support.
Best regards,
Hermenegildo.