When the Access Manager or Federation Manager server is SSL enabled, saml2meta throws a java.lang.NoClassDefFoundError exception.
WORKAROUND: Edit saml2meta by doing the following:
Remove the ${BOOTCLASSPATHOPTION} option when running the java command for com.sun.identity.saml2.meta.SAML2Meta (line 123).
Add the following properties when running the java command for com.sun.identity.saml2.meta.SAML2Meta (line 123).
-Djavax.net.ssl.trustStore=full path for the key store file
-Djavax.net.ssl.trustStoreType=JKS where JKS is a Java key store file containing the certificate authority certificates of the SSL certificate for the server's web container.