(#21732) Allow for PEM based files instead of JKS

These patches provide a mechanism to use PEM based files instead of the legacy JKS files.