Ernest wrote:

>       Subject: [sipX-dev] Importing Web Certificate does not work for
certs whose key/csr were not generated by sipXconfig    
>       Hello all,
        
>       First, I created a CSR by using sipx. My FQDN is
ernest.itcnetworks.ro. I noticed the appearance of the following files:
ernest.itcnetworks.ro-web.csr and ernest.itcnetworks.ro-web.key, both
located in $SIPX_INSTALL/var/sipxdata/configserver/web-cert folder. By
using OpenSSL, I created a self-signed certificate based on those files.
>       
>       When I tried to import that certificate I got the following
error shown on UI: Error while copying the key and the certificate
files.  Then, I investigated the code and I saw in
copyKeyAndCertificate() method of CertificateManagerImpl class, the line
FileUtils.copyFile(sourceKeyStore, destinationKeyStore);  threws an
exception since ernest.itcnetworks.ro-web.keystore file is missing. That
file should have been in
$SIPX_INSTALL/var/sipxdata/configserver/web-cert folder but it wasn't.
        
>       What am I missing? If somebody has an idea, please help.
This is actually a bug.  The copyKeyAndCertificate should not be
attempting to copy the Keystore or P12 files at all.  The KeyStore is
not generated during the actual import.  Only the Key and Certificate
should be copied.  The KeyStore generation occurs after.  Please file an
issue on this.

Thanks
Raymond 
        

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to