<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Hello,</div>
<div class=""><br class="">
</div>
<div class="">We have an old IDP 2.x, with an old cert. When moving to new IDP 3.x, the old cert gives the following error. However, new generated pair of key/cert seems to work fine. Does this mean we will have to use the new one, or is it possible to keep
 the old cert and make it work with IDP 3.x with different settings etc? </div>
<div class=""><br class="">
</div>
<div class="">Thanks, </div>
<div class="">Shweta</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><span style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255);" class="">2016-08-03 16:14:34,733 - WARN [net.shibboleth.ext.spring.context.FilesystemGenericApplicationContext:545] - Exception encountered during context
 initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.DefaultEncryptionCredentials': Cannot create inner bean 'net.shibboleth.idp.profile.spring.factory.BasicX509CredentialFactoryBean#1319bc2a'
 of type [net.shibboleth.idp.profile.spring.factory.BasicX509CredentialFactoryBean] while setting bean property 'sourceList' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.shibboleth.idp.profile.spring.factory.BasicX509CredentialFactoryBean#1319bc2a':
 FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentException: Invalid OpenSSL traditional private key format.</span><br class="">
<span class="" style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255);">2016-08-03 16:14:34,738 - </span><span class="" style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255); color: rgb(195, 55, 32);"><b class="">ERROR</b></span><span class="" style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255);"> [net.shibboleth.utilities.java.support.service.AbstractReloadableService:181]
 - Service 'shibboleth.RelyingPartyResolverService': Initial load failed</span><br class="">
<span style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255);" class="">net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.DefaultEncryptionCredentials':
 Cannot create inner bean 'net.shibboleth.idp.profile.spring.factory.BasicX509CredentialFactoryBean#1319bc2a' of type [net.shibboleth.idp.profile.spring.factory.BasicX509CredentialFactoryBean] while setting bean property 'sourceList' with key [0]; nested exception
 is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.shibboleth.idp.profile.spring.factory.BasicX509CredentialFactoryBean#1319bc2a':
<b class=""><font color="#b51a00" class="">FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentException: Invalid OpenSSL traditional private key format</font></b>.</span><br class="">
<span style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255);" class="">at net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:334)</span><br class="">
<span style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255);" class="">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.DefaultEncryptionCredentials': Cannot create inner
 bean 'net.shibboleth.idp.profile.spring.factory.BasicX509CredentialFactoryBean#1319bc2a' of type [net.shibboleth.idp.profile.spring.factory.BasicX509CredentialFactoryBean] while setting bean property 'sourceList' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException:
 Error creating bean with name 'net.shibboleth.idp.profile.spring.factory.BasicX509CredentialFactoryBean#1319bc2a': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentException: Invalid OpenSSL traditional private key
 format.</span><br class="">
<span style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255);" class="">at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313)</span><br class="">
<span style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255);" class="">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.shibboleth.idp.profile.spring.factory.BasicX509CredentialFactoryBean#1319bc2a':
 FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentException: Invalid OpenSSL traditional private key format.</span><br class="">
<span style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255);" class="">at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)</span><br class="">
<span style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255);" class="">Caused by: java.lang.IllegalArgumentException: Invalid OpenSSL traditional private key format.</span><br class="">
<div class="">
<div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div class="">
<div class="" style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255); margin: 0px;">
<span class=""><span class="Apple-tab-span" style="white-space: pre;"></span>at org.cryptacular.asn.OpenSSLPrivateKeyDecoder.decodeASN1(OpenSSLPrivateKeyDecoder.java:130)</span></div>
</div>
</div>
</div>
</div>
<div class="">
<div class="">
<div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div class="">
<div class="" style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255); margin: 0px;">
<span class=""><br class="">
</span></div>
</div>
</div>
</div>
</div>
</body>
</html>