When upgrading DX NetOps (Performance Management), the installation or the DBMigrateApp phase fails with the following error: "Public Key Retrieval is not allowed"
Upon investigation of the MySQL data directory, required SSL certificate files (PEM) are missing, incomplete, or exist only as backup files (e.g., server-cert.pem.bak exists but server-cert.pem is missing).
MySQL 8.4 and later versions utilize SHA-2 authentication which requires a valid RSA key pair for password exchange when SSL is not fully established or when "Public Key Retrieval" is requested. If the underlying PEM files in the MySQL data directory are missing or mismatched, the database engine cannot provide the necessary public key to the JDBC client, resulting in a connection failure.