rclone跳过证书检查

# 场景

在内网挂载webdav的时候,直接用内网ip+端口挂载。但是对应端口上只提供了公网的ssl

# 解决方法

通过chatgpt搜索的 修改rclone.conf文件 在对应节点上添加一行 insecure_skip_verify = true 实际测试没效果 最终解决方案 在命令后面 添加 –no-check-certificate

# 测试

1
2
rclone lsd cloudreve-local:/ --config /root/rclone.conf 
rclone lsd cloudreve-local:/ --config /root/rclone.conf  --no-check-certificate

# 补充

其实这个使用场景下,可以通过修改hosts文件来避免证书错误的问题,又可以绕过外网。

参考:https://github.com/rclone/rclone/issues/168

Licensed under CC BY-NC-SA 4.0
comments powered by Disqus
使用 Hugo 构建
主题 StackJimmy 设计