Dspace 7 ssl issue on api url

45 views
Skip to first unread message

George Yusto

unread,
Jul 4, 2022, 10:42:17 AM7/4/22
to DSpace Technical Support
Hi
Am using https (ssl) on my domain but url uses http

Sample of what am getting
API fired:
https://exmple.co.com/server/api/authn

response
{"id":null,"okay":true,"authenticated":false,"authenticationMethod":null,"type":"status","_links":{"eperson":{"href":"http://exmple.co.com/server/api/authn/status/eperson"},"self":{"href":"http://exmple.co.com/server/api/authn/status"}}}

Digilio, Giuseppe

unread,
Jul 6, 2022, 5:34:43 AM7/6/22
to geeyu...@gmail.com, dspac...@googlegroups.com
Have you set properly the `dspace.server.url` property in your
local.cfg file? It should containt the url with https protocol, e.g.

dspace.server.url = https://exmple.co.com/server

George Yusto

unread,
Jul 6, 2022, 6:04:48 AM7/6/22
to Digilio, Giuseppe, dspac...@googlegroups.com
Hi Giuseppe 
I managed to solve this issue by using apache2 https.... 
I added this!

RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"


Reply all
Reply to author
Forward
0 new messages