Skip to content
This repository was archived by the owner on Jan 24, 2019. It is now read-only.
This repository was archived by the owner on Jan 24, 2019. It is now read-only.

Can I use a HTTPS upstream with a self-signed cert? #516

Open
@funkypenguin

Description

@funkypenguin

Hey folks,

I'm trying to use oauth2_proxy to protect the admin interface of a UniFi Controller UI. The UniFi controller uses its own, self-signed cert to provide HTTPS access. Changing the cert is very hard, since you'd have to change the contents of the java bundle used to provide the controller.

Oauth2_proxy is refusing to proxy to the upstream controller, with a message like this:

[email protected]    | 2017/12/20 08:20:53 reverseproxy.go:316: http: proxy error: x509: certificate signed by unknown authority

Any ideas re how I can make this work?

Thanks!
D

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions