[GH-ISSUE #3241] how expose local website http to https in frp server #2602

Closed
opened 2026-05-05 13:40:44 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @thomazr on GitHub (Jan 6, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3241

Bug Description

Hello guys! I'm trying to expose a local http site to a frp server using https but I'm not succeeding. my frpc.ini looks like this:
[common]
server_addr = 137.184.181.209
server_port = 7000

[https]
type = https
local_port = 8080
custom_domains = api.tiggomark.com.br

and my frps.ini (on the server) looks like this:
[common]
bind_port = 7000
vhost_http_port = 9888
vhost_https_port = 7001

However, even having an ssl certificate installed for the api.tiggomark.com.br domain, when I try to access the address https://api.tiggomark.com.br:7001 I cannot access the address (certificate error), using the tables settings for http, works normally. Can anyone help me? Thanks!

frpc Version

0.46.0

frps Version

0.46.0

System Architecture

linux/amd64

Configurations

Sever:
[common]
bind_port = 7000
vhost_http_port = 9888
vhost_https_port = 7001

Client:
[common]
server_addr = 137.184.181.209
server_port = 7000

[https]
type = https
local_port = 8080
custom_domains = api.tiggomark.com.br

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @thomazr on GitHub (Jan 6, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3241 ### Bug Description Hello guys! I'm trying to expose a local http site to a frp server using https but I'm not succeeding. my frpc.ini looks like this: [common] server_addr = 137.184.181.209 server_port = 7000 [https] type = https local_port = 8080 custom_domains = api.tiggomark.com.br and my frps.ini (on the server) looks like this: _[common] bind_port = 7000 vhost_http_port = 9888 vhost_https_port = 7001_ However, even having an ssl certificate installed for the api.tiggomark.com.br domain, when I try to access the address https://api.tiggomark.com.br:7001 I cannot access the address (certificate error), using the tables settings for http, works normally. Can anyone help me? Thanks! ### frpc Version 0.46.0 ### frps Version 0.46.0 ### System Architecture linux/amd64 ### Configurations Sever: [common] bind_port = 7000 vhost_http_port = 9888 vhost_https_port = 7001 Client: [common] server_addr = 137.184.181.209 server_port = 7000 [https] type = https local_port = 8080 custom_domains = api.tiggomark.com.br ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:40:44 -06:00
Author
Owner

@Becods commented on GitHub (Jan 7, 2023):

Enable HTTPS for local HTTP(S) service

<!-- gh-comment-id:1374540176 --> @Becods commented on GitHub (Jan 7, 2023): [Enable HTTPS for local HTTP(S) service](https://github.com/fatedier/frp#enable-https-for-local-https-service)
Author
Owner

@github-actions[bot] commented on GitHub (Feb 7, 2023):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1420050973 --> @github-actions[bot] commented on GitHub (Feb 7, 2023): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2602
No description provided.