Skip to content

certManager needs HTTPHandler to complete verification from LetsEncrypt #8

@abishekmuthian

Description

@abishekmuthian

StartTLSAutocert should start a go routine for certManager to accept http connections in-order to pass the initial verification callbacks from LetsEncrypt.

go http.ListenAndServe(":http", certManager.HTTPHandler(nil))

Perhaps this was not done in favour of explicit StartRedirectAll() from the app, but redirecting 80 to 443 will not work until certificate for 443 has been obtained; but it will not be obtained due to above reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions