Radosgw: ssl_private_key could not find the file even if it existed
The radosgw has been configured like this: [client.rgw.ceph1] host = ceph1 rgw_frontends = beast port=8080 ssl_port=443 ssl_certificate=/root/ssl/ca.crt ssl_private_key=/root/ssl/ca.key #rgw_frontends = beast port=8080 ssl_port=443 ssl_certificate=/root/ssl/ca.crt ssl_private_key=config://rgw/cert/default/ca.key admin_socket = /var/run/ceph/ceph-client.rgw.ceph1 but I'm getting this error: failed to add ssl_private_key=/root/ssl/ca.key: No such file or directory I also tried to import the key into ceph db and provided the path with config://, but it doesn't work too. Anyone have any ideal? Thanks
Den tors 4 maj 2023 kl 17:07 skrev <viplanghe6@gmail.com>:
The radosgw has been configured like this:
[client.rgw.ceph1] host = ceph1 rgw_frontends = beast port=8080 ssl_port=443 ssl_certificate=/root/ssl/ca.crt ssl_private_key=/root/ssl/ca.key #rgw_frontends = beast port=8080 ssl_port=443 ssl_certificate=/root/ssl/ca.crt ssl_private_key=config://rgw/cert/default/ca.key admin_socket = /var/run/ceph/ceph-client.rgw.ceph1
but I'm getting this error:
failed to add ssl_private_key=/root/ssl/ca.key: No such file or directory
I also tried to import the key into ceph db and provided the path with config://, but it doesn't work too.
Anyone have any ideal? Thanks
Perhaps rgw already runs as ceph user and can't read into /root or the key file due to normal file permissions? -- May the most significant bit of your life be positive.
participants (2)
-
Janne Johansson
-
viplanghe6@gmail.com