<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 8/15/12 11:43 AM, Dan Webb wrote:<br>
</div>
<blockquote
cite="mid:0E1E893FE7447F4F883C415B21D0E5E9010DBCF8E710@MKT-MBX01.university.ds.derby.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1"><br>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Courier New"">Caused
by: java.lang.NullPointerException<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Courier New"">
at
org.apache.commons.ssl.OpenSSL.deriveKey(OpenSSL.java:458)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Courier New"">
at
org.apache.commons.ssl.OpenSSL.deriveKey(OpenSSL.java:448)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Courier New"">
at
org.apache.commons.ssl.PKCS8Key.opensslDecrypt(PKCS8Key.java:342)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Courier New"">
at
org.apache.commons.ssl.PKCS8Key.<init>(PKCS8Key.java:188)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Courier New"">
at
org.opensaml.xml.security.SecurityHelper.decodePrivateKey(SecurityHelper.java:466)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Courier New"">
at
edu.internet2.middleware.shibboleth.common.config.security.AbstractCredentialBeanDefinitionParser.parsePrivateKey(AbstractCredentialBeanDefinitionParser.java:129)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Courier New"">
at
edu.internet2.middleware.shibboleth.common.config.security.AbstractX509CredentialBeanDefinitionParser.doParse(AbstractX509CredentialBeanDefinitionParser.java:71)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:"Courier New"">
<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This seems to be causing the application
not to start up. From what I can tell the SSH certificates are
all in and correct. </p>
</div>
</blockquote>
<br>
From the above, the problem is with it not being able to parse a
private key. It's nothing to do with your certificate per se.
Check and verify the contents of your Credential PrivateKey
element(s), and if your pointing to the private key file on disk,
make sure that the file actually exists and contains a validly
represented private key.<br>
<br>
<br>
<blockquote
cite="mid:0E1E893FE7447F4F883C415B21D0E5E9010DBCF8E710@MKT-MBX01.university.ds.derby.ac.uk"
type="cite">
<div class="WordSection1">
<p class="MsoNormal">At the same time as receiving the errors
below when trying to run version.sh <o:p></o:p></p>
<p class="MsoNormal">Caused by:
java.lang.ArrayIndexOutOfBoundsException: 0<o:p></o:p></p>
<p class="MsoNormal"> at
edu.internet2.middleware.shibboleth.idp.Version.<clinit>(Version.java:101)<o:p></o:p></p>
<p class="MsoNormal">Could not find the main class:
edu.internet2.middleware.shibboleth.idp.Version. Program will
exit.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I thought this was a bug fixed after
version 2.0.x and I’m under the impression that we’re running
a much newer version (it was only put in last year)</p>
</div>
</blockquote>
<br>
<br>
I'm not sure on this one. Make sure you're running the latest
version of the IdP. And if so and the problem still persists, you
are welcome to file a bug report.<br>
<br>
</body>
</html>