Skip to content

certificate files relative path problem #4531

@patterniha

Description

@patterniha

[windows v25.3.6]

suppose the file "xray.exe" is in folder "F1",
and you run command ".../F1/xray.exe" from folder "F2".

geoip.dat and geosite.dat should be in "F1" folder, which shows that the relative path for geofiles begins from the folder where "xray.exe" is there.

but certificate files should be in "F2" folder, which shows that the relative path for certificate files begins from the folder where the "command" is executed.

"certificateFile": "mycert.crt",
"keyFile": "mycert.key"

This issue has caused the mitm-config to not work in v2rayN and v2rayNG, because the The folder where the command is executed is unspecified.

///

as a result, like geofiles, the relative path for certificate files should begins from the folder where "xray" is there.

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