Hello, and happy new year
Just wanted to share with you the code that I used in the main JSP file of
my site
to solve this issue
<%
if(request.getScheme().equals("http")){
String redirect = "https://mydomain.dspace/index.jsp";
response.sendRedirect(redirect);
}
%>
On Monday, December 13, 2021 at 2:40:09 PM UTC-5 Alejandro Lengua Vega
wrote:
> Hello,
> I recently installed a SSL certificate in my dspace (version 6.3) server
> and https is working fine thanks to this configuration in server.xml
> <Connector port="443" protocol="HTTP/1.1"
> connectionTimeout="20000" SSLEnabled="true" scheme="https"
> keystoreFile="conf/file.jks" keystorePass="Password" clientAuth="false"
> sslProtocol="TLS"
> redirectPort="8443" />
>
> however I would like to disable the http thing and force all connections
> to be made via SSL. So I am trying to comment these lines
>
> <Connector port="80" protocol="HTTP/1.1"
> connectionTimeout="20000"
> redirectPort="8443" />
>
> but when I do so I get an internal error message in the https site home
> page
>
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/33e6b198-86ed-43ee-8c3d-ca419f6eee06n%40googlegroups.com.