mirror of
https://github.com/laurivosandi/certidude.git
synced 2026-04-25 08:35:55 +03:00
[GH-ISSUE #58] Error 404 immediately after install on clean VM #50
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certidude-laurivosandi#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Chluz on GitHub (Aug 25, 2019).
Original GitHub issue: https://github.com/laurivosandi/certidude/issues/58
Hi, I'm trying to use this to manage my certificates for Samba domain controllers and OpenVPN. I have followed the source install steps for a source install, but get an error 404 page when loading the https page.
The logs show no error:
Aug 25 16:01:31 ca certidude[7615]: Executing log_insert_entry.sql with (datetime.datetime(2019, 8, 25, 16, 1, 31, 519141), 'certidude.api.session', 20, 'info', 'Served CA certificate to 192.168.48.69', 'session', 'on_get', 17, '', 7623, 139841744570176, 'MainThread') Aug 25 16:01:31 ca certidude[7615]: Publishing log-entry event '{"created": "2019-08-25T16:01:31.519Z", "message": "Served CA certificate to 192.168.48.69", "severity": "info"}' on http://localhost/ev/pub/lidJVVGSKNSEgV5cJ5YzmFjIYLSBatKkIs there something obvious that I am missing ?
Thanks very much
@KNGP14 commented on GitHub (Sep 17, 2019):
Same here
@KNGP14 commented on GitHub (Sep 17, 2019):
Options in
/etc/nginx/sites-available/certidude.confpass the URI<fqdn>/api/tohttp://127.0.1.1:8080/api/.This URI is unavaible (404):
curl -k -I http://testuser:test123@127.0.1.1:8080/api/HTTP/1.0 404 Not FoundDate: Tue, 17 Sep 2019 20:57:36 GMTServer: WSGIServer/0.2 CPython/3.5.2content-type: application/jsonContent-Length: 0But without the leaving
/... It works!curl -k http://testuser:test123@127.0.1.1:8080/api{"features": {"leases": true, "tagging": true, "token": true, "logging": "sql"}, ...@KNGP14 commented on GitHub (Sep 17, 2019):
Found issue in Falcon API
https://github.com/falconry/falcon/issues/1544
To fix the issue go to
certidude/api/__init__.py...Before:
[29] app.req_options.auto_parse_form_urlencoded = True[30] self.attach(app)After:
[29] app.req_options.auto_parse_form_urlencoded = True[29] app.req_options.strip_url_path_trailing_slash = True[31] self.attach(app)@Chluz commented on GitHub (Sep 22, 2019):
Thanks, that worked for me !