An error like the following occurs when adding a Snowflake agent
Caused by: net.snowflake.client.jdbc.SnowflakeSQLLoggedException: Private key provided is invalid or not supported: PBES2 SecretKeyFactory not available
Add the following to the baseline.jvm.config file and restart the FglAM, this can be done manually directly in the file or using the JVM Config column in the Agent Managers panel.
-Dnet.snowflake.jdbc.enableBouncyCastle=true