Bug 11593 - WebUI: creating IPsec host certificate with SubjectAltName results in HTTP error 504
Summary: WebUI: creating IPsec host certificate with SubjectAltName results in HTTP er...
Status: CLOSED ERRATA
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: all All
: Will affect an average number of users Major Usability
Assignee: Assigned to nobody - feel free to grab it and work on it
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-14 13:34 UTC by Peter Müller
Modified: 2018-02-06 19:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Müller 2018-01-14 13:34:56 UTC
Creating a remote host certificate for an IPsec roadwarrior connection with a SubjectAltName (this is required by some OpenBSD programs), the CGI seems to be running in an infinite loop.

After a minute or two, it returns the error message: "Error 504 Gateway Timed Out" However, vpnmain.cgi can be accessed afterwards again (and the certificate has been created).

Seen this issue on Core Update 117 (64 bit).
Comment 1 Tom Rymes 2018-02-01 13:57:06 UTC
Peter: What steps are you taking to produce this issue? It sounds like you are choosing the option "Create a Certificate" at tunnel creation time, but I want to make sure.
Comment 2 Peter Müller 2018-02-06 19:22:13 UTC
(In reply to Tom Rymes from comment #1)
> Peter: What steps are you taking to produce this issue? It sounds like you
> are choosing the option "Create a Certificate" at tunnel creation time, but
> I want to make sure.
Yes, I set up the client certificate right before that.

However, the delay was because the remote side could not bring up the VPN properly (OpenBSD - I mentioned that on the mailing list). However, strongswan did not do that in background, finally hitting the Apache CGI timeout.

In my opinion, this is not very elegant behaviour, but nevertheless we can close this issue since it is not related to SubjectAltName.