I have successfully created a cert like this:
~/certbot.venv/bin/certbot run --test-cert \
--installer oci \
--authenticator dns-oci \
--oci-profile $OCI_PROFILE \
--dns-oci-profile $OCI_PROFILE \
--oci-certificate-name $CERT_DOMAIN \
--oci-compartment-id $OCI_COMP_OCID \
--cert-path $CERT_DOMAIN/cert.pem \
--key-path $CERT_DOMAIN/privkey.pem \
--chain-path $CERT_DOMAIN/fullchain.pem \
--config-dir ~/.certbot \
--work-dir ~/.certbot \
--logs-dir ~/.certbot \
-m $CERT_EMAIL \
--agree-tos \
-n \
-d $CERT_DOMAIN
…then tried to renew like this
~/certbot.venv/bin/certbot run --test-cert \
--installer oci \
--authenticator dns-oci \
--oci-profile $OCI_PROFILE \
--dns-oci-profile $OCI_PROFILE \
--oci-certificate-id $CERT_OCID \
--cert-path $CERT_DOMAIN/cert.pem \
--key-path $CERT_DOMAIN/privkey.pem \
--chain-path $CERT_DOMAIN/fullchain.pem \
--config-dir ~/.certbot \
--work-dir ~/.certbot \
--logs-dir ~/.certbot \
-m $CERT_EMAIL \
--agree-tos \
-n \
-d $CERT_DOMAIN
…but I get an error.
. . .
File "/home/user1/certbot.venv/lib/python3.12/site-packages/certbot_oci_certs/installer.py", line 133, in __init__
if len(response.data.items) != 1:
^^^^^^^^^^^^^^^^^^^
AttributeError: 'Certificate' object has no attribute 'items'
I have successfully created a cert like this:
…then tried to renew like this
…but I get an error.