git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@626
ab3bd59b-922f-494d-bb5f-
6f0a3c29deca
configuration
.getProperty("edu.internet2.middleware.shibboleth.hs.HandleServlet.keyStoreKeyPassword")
.toCharArray());
+
+ if (privateKey == null) {
+ throw new HSConfigurationException(
+ "No key entry was found with an alias of ("
+ + configuration.getProperty(
+ "edu.internet2.middleware.shibboleth.hs.HandleServlet.keyStoreKeyAlias")
+ + ").");
+ }
+
if (configuration.getProperty("edu.internet2.middleware.shibboleth.hs.HandleServlet.certAlias") != null) {
certificates =