EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #10070


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] HTTPS-only


Hi Will,

You probably want to run:

journalctl -xeu apache2.service

as the root user or using sudo.  That may give you a useful error message.  Otherwise checking the error log for the webserver (typically /var/log/apache2/error.log) on Ubuntu.  Running the following command (as root or with sudo):

apache2ctl configtest

may also give you a clue to where the issue is.  This error message you do have does not look like it has anything to do with EPrints from a core codebase perspective.  It may be that the Apache configuration that EPrints has generated is somehow invalid.  One further thing to try, is regenerating this by running (as the eprints user):

EPRINTS_PATH/bin/generate_apacheconf --system --replace

Then try restarting Apache again (possible trying apache2ctl configtest again before restarting).  It may be your changes to try to setup HTTPS mean the generated Apache config from EPrints need updating.

Regards

David Newman

On 03/04/2025 13:50, Will Hughes wrote:
CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.

Hi

 

I wonder whether anyone has experience of switching their site to HTTPS-only. I have followed the steps in the manual and double-checked everything, but my site is not working properly, generating an error: SSL handshake failed Error code 525

 

I have checked through all the documentation I can find, and when I run: /etc/init.d/apache2 restart I get an error message:

 

Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.

See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.

 

Unfortunately, I so not understand what is happening here and I am not sure what aspect of the suggested commands to copy here. Can anyone help, please?

 

Best wishes

 

Will   

 

Will Hughes

Emeritus Professor of Construction Management and Economics

School of the Built Environment     

University of Reading, PO Box 219, Whiteknights

Reading, RG6 6DF, UK

 


*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List
*** Archive: https://www.eprints.org/tech.php/
*** EPrints community wiki: https://wiki.eprints.org/