How to change RGW certificate in Cephadm?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I enabled RGW in cephadm I used this spec file rgw.yml

  service_type: rgw
  service_id: pech
  placement:
    label: cog
  spec:
    ssl: true
    rgw_frontend_ssl_certificate: |
      -----BEGIN CERTIFICATE-----
      <snip />
      -----END CERTIFICATE-----
      -----BEGIN CERTIFICATE-----
      <snip />
      -----END CERTIFICATE-----
      -----BEGIN CERTIFICATE-----
      <snip />
      -----END CERTIFICATE-----
      -----BEGIN RSA PRIVATE KEY-----
      <snip />
      -----END RSA PRIVATE KEY-----

And enabled it with
  ceph orch apply -i /etc/ceph/rgw.yml


The certificate is about to expire so I would like to update it.
I updated rgw.yml spec with the new certificate and run
  ceph orch apply -i /etc/ceph/rgw.yml

But nothing happened, so I tried to redeploy one of them with
  ceph orch daemon redeploy rgw.pech.pech-mon-3.upnvrd

It redeployed the RGW, but still uses the old certificate.


  ceph config-key list | grep rgw
gives me two keys of interest mgr/cephadm/spec.rgw.pech and rgw/cert/rgw.pech

The content of mgr/cephadm/spec.rgw.pech is the new spec file with the updated
certificates, but the rgw/cert/rgw.pech only contains certificate and private
key, but the certificate is the old ones about to expire.


I have looked in the documentation and can't find how to update the certificate
for RGW.

Can anyone shed some light on how to replace the certificate?


--
Kai Stian Olstad
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux