SAP HANA: check_pse_store.cc(00178) : Trying to add invalid certificate as part of own certificate PEM

If you try to manage your HANA certificates via SQL you might want to set the “OWN CERTIFICATE” where you come across the following error in your SQL Commandline:

Could NOT EXECUTE 'ALTER PSE HANA_X509 SET OWN CERTIFICATE '-----BEGIN RSA PRIVATE KEY----- ...'
SAP DBTech JDBC: [5634]: Certificate definition inconsistent

Continue reading SAP HANA: check_pse_store.cc(00178) : Trying to add invalid certificate as part of own certificate PEM