How to use cert_expiry for noip

I am not sure how to config the cert_expiry platform. The result I get is unknown
I refer from https://home-assistant.io/components/sensor.cert_expiry/
my setting is in sensor platform.

  - platform: cert_expiry
    name: noip_cert_expiry  
    host: !secret noip_dns     <== mydomainname.dns.net or ?
    port: !secret noip_port  <== I didn't use let's encrypt, the default port for cert_expiry is 443 so should I put default port of HA 8123
    scan_interval: 86400  <== 24 hrs

hi, did you solve the problem?

Yes. but not for noip
I got only for letencrypt.

Could you share your final configuration please?

Sorry for my late rply. I will post mine this evening. Asia Time.

This is how I use to check for ssl cert_expiry

sensor:
  - platform: command_line
    name: SSL Cert Expiry
    unit_of_measurement: days
    scan_interval: 10800
    command: "sudo ssl-cert-check -b -c /etc/letsencrypt/live/my.secret.domain/cert.pem | awk '{ print $NF }'"