Problem with 3PAR after reissuing a self-signed certificate.

Hello everyone. There was a problem with obtaining information from arrays on which the selfsigned certificate has expired. I reissued the certificate, but the data collection did not work.

Ran the check script config_check.sh

lpar2rrd /home/stor2rrd/stor2rrd $ ./bin/config_check.sh PA_7450_1




=========================
STORAGE: PA_7450_1: 3PAR
=========================
  TCP connection to "10.200.205.158" on port "22" is ok
CLI Client version: 3.2.2
  TCP connection to "10.200.205.158" on port "5782" is ok
Using 3PAR CLI /opt/hp_3par_cli/bin/cli, PWF:/home/stor2rrd/stor2rrd/etc/.3par-10.200.205.158.pwf
export TPDCERTDIR=/home/stor2rrd/stor2rrd/etc; export TPDPWFILE=/home/stor2rrd/stor2rrd/etc/.3par-10.200.205.158.pwf; /opt/hp_3par_cli/bin/cli -sys 10.200.205.158 -pwf /home/stor2rrd/stor2rrd/etc/.3par-10.200.205.158.pwf showuser




SSH network connection: TCP connection to 10.200.205.158:5782 is OK.

Crontab test: OK


SSH authorization: NOK
Under user: lpar2rrd
ssh command failed: "export TPDCERTDIR=/home/lpar2rrd/stor2rrd/etc; export TPDPWFILE=/home/lpar2rrd/stor2rrd/etc/.3par-10.200.205.158.pwf; /opt/hp_3par_cli/bin/cli -sys 10.200.205.158 -pwf /home/lpar2rrd/stor2rrd/etc/.3par-10.200.205.158.pwf statvv -rw -d 1 -iter 1"
The authenticity of the storage system cannot be established.
CLI Server Certificate
  Issuer:           CN=HP_3PAR 7450c-1688261
  Subject:          CN=HP_3PAR 7450c-1688261
  SHA1 fingerprint: 85247F00E7533FC35C9BFD9EC2C54B1FC9A75CEF
  Validity:         Not before: Jan 21 06:30:19 2022 GMT
                    Not after:  Jan 20 06:30:19 2025 GMT
  Warning: self signed certificate
  Warning: subject CN ("HP_3PAR 7450c-1688261") does not match the system name ("10.200.205.158")
Continue connecting (yes/no)?

Comments

  • Hi,

    run the command and answer "yes", this will fix it

    su - lpar2rrd
    export TPDCERTDIR=/home/stor2rrd/stor2rrd/etc; export TPDPWFILE=/home/stor2rrd/stor2rrd/etc/.3par-10.200.205.158.pwf; /opt/hp_3par_cli/bin/cli -sys 10.200.205.158 -pwf /home/stor2rrd/stor2rrd/etc/.3par-10.200.205.158.pwf showuser

    then this will work:
    cd /home/stor2rrd/stor2rrd
    ./bin/config_check.sh PA_7450_1


  • @Pavel
    Thank you so much! it's working for me!
Sign In or Register to comment.