[英]rippled SSL-Certificate
I want to have a secure connection to my rippled node.我想与我的波纹节点建立安全连接。 That is why I want my node to use the
SSL-Certificate
of my domain when I connect to it via websocket or grpc.这就是为什么我希望我的节点在通过 websocket 或 grpc 连接到我的域时使用我的域的
SSL-Certificate
。 I saved the certificate and the key at /etc/ssl/certs/server.pem
and /etc/ssl/private/server.pem
.我将证书和密钥保存在
/etc/ssl/certs/server.pem
和/etc/ssl/private/server.pem
。 But if I configure ssl_key = /etc/ssl/certs/server.pem
and ssl_cert = /etc/ssl/private/server.pem
my node won't start.但是如果我配置
ssl_key = /etc/ssl/certs/server.pem
和ssl_cert = /etc/ssl/private/server.pem
我的节点将无法启动。
Are these the wrong fields?这些是错误的字段吗? What else do you need for information?
您还需要什么信息?
Thank you.谢谢你。
I believe those are the correct fields.我相信这些是正确的领域。 Make sure you've put them in the
[server]
stanza of your rippled.cfg
file.确保您已将它们放在您的
rippled.cfg
文件的[server]
节中。 You can learn about the stanzas and fields of the config file by reading the comments in the example file: https://github.com/ripple/rippled/blob/develop/cfg/rippled-example.cfg您可以通过阅读示例文件中的注释来了解配置文件的节和字段: https://github.com/ripple/rippled/blob/develop/cfg/rippled-example.cfg
Can you share the relevant sections of your rippled.cfg
file?你能分享你的
rippled.cfg
文件的相关部分吗?
If you are unsure how to format or edit the file, you can also try the XRPL Node Configurator: https://xrplf.github.io/xrpl-node-configurator如果不确定如何格式化或编辑文件,也可以尝试 XRPL 节点配置器: https://xrplf.github.io/xrpl-node-configurator
When you say that your node won't start: What does it do instead?当您说您的节点不会启动时:它会做什么? Do you get an error message?
您收到错误消息吗?
The rippled service had no permissions to open the directory where I stored the SSL key.波纹服务无权打开我存储 SSL 密钥的目录。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.