Skip to content

配置证书时报错 #5036

@holalahy

Description

@holalahy

Bug Description

根据文档示例,在win10客户端中采用https方式配置证书
crtPath = "./ca/xxx.pem" keyPath = "./ca/xxx.key"
启动客户端时报错:
D:\server\frp>frpc -c frpc.toml
unmarshal ProxyConfig error: json: unknown field "crtPath"

frpc Version

0.65.0

frps Version

0.65.04l

System Architecture

windows/amd64

Configurations

serverAddr = "x.x.x.x"
serverPort = 7000

[[proxies]]
name = "web"
type = "https"
localPort = 9999
customDomains = ["xx.xxx.com"]
crtPath = "./ca/xxx.pem"
keyPath = "./ca/xxx.key"

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions