mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2286] HTTPS with SSL certificate not working #1817
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1817
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 @TannerGabriel on GitHub (Mar 8, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2286
[REQUIRED] hat version of frp are you using
Version: 0.35.1
[REQUIRED] What operating system and processor architecture are you using
OS: Ubuntu
CPU architecture: x86
[REQUIRED] description of errors
When trying to forward a service from a local PC using HTTPS with an SSL certificate the service is not accessible. When I visit the domain that I specified I just get a 502 Nginx error code. If I try to access it directly over the IP-Address using IP_ADDRESS:vhost_https_port I get the following error messages:
confile
FRPS:
FRPC:
log file
Steps to reproduce the issue
vhost_https_portSupplementary information
vhost_https_portdefined in the FRP config.Can you guess what caused this issue
Checklist:
@yuyulei commented on GitHub (Mar 12, 2021):
Is the schema of request that frps received
http? Can you try after editingtype = http?@TannerGabriel commented on GitHub (Mar 14, 2021):
Thank you for the response. I tried it out, but no change. I also tried the
https2httpplugin hoping that might help, but it didn't. Am I right to assume that I can use the LetsEncrypt certificates that I generated for the domain and also use in NGINX?@TannerGabriel commented on GitHub (Mar 17, 2021):
Thank you for the help. I just found a workaround for my problem. I now use
type = tcpto forward the HTTP traffic and then use an Nginx reverse proxy to get the HTTPS traffic to my service.