Hi Bernd,

the SCEP Endpoint needs an URI path /scep/<endpoint> name, the root document is redirected to the "users" webui for convenience and not served.

Oliver

On 15.06.22 09:04, Bernd Krietenstein wrote:
Hi,

I followed the documentation to get the openxpki docker running. According to 
the docs, these 3 steps should be sufficient to get the SCEP server running 
with docker:

1. git clone https://github.com/openxpki/openxpki-config.git --single-branch 
--branch=community
2. cp contrib/wait_on_init.yaml  openxpki-config/config.d/system/local.yaml
3. docker-compose up

But I can't reach the SCEP server on http://openxpkihost:8080. The wireshark 
protocol shows, that the SCEP server answers with a 301 Redirect to the same 
port:

     GET /?operation=GetCACert HTTP/1.1
     accept: */*
     host: openxpkihost:8080

     HTTP/1.1 301 Moved Permanently
     Date: Tue, 14 Jun 2022 14:06:53 GMT
     Server: Apache
     Location: https:// openxpkihost:8080?operation=GetCACert
     Content-Length: 251
     Content-Type: text/html; charset=iso-8859-1

     <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
     <html><head>
     <title>301 Moved Permanently</title>
     </head><body>
     <h1>Moved Permanently</h1>
     <p>The document has moved <a 
href="https://openxpkihost:8080?operation=GetCACert";>here</a>.</p>
     </body></html>

The redirect to HTTPS on the same port looks wrong. Is this a misconfiguration 
of the Apache server? Do I overlook something here?

However, the WebGUI on port 8443 works.

Thanks for any hints,

BERND KRIETENSTEIN
Software Development
14DS3 Software Platform III
Corporate R&D


_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

--
Protect your environment -  close windows and adopt a penguin!



_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to