wso2 AS SSL error with the no default localhost certificate -


i’m trying consume secured web service hosted on wso2 as, created new certificate in existing wso2carbon.jks file of server , add client jvm cacerts i’m getting error:

java.security.cert.certificateexception: no subject alternative names present

nevertheless if create brand new wso2carbon.jks , overwrite old 1 in server after add new certificate client jvm cacerts can consume secured service other things in stop working datasources, tried adding new certificate client-truststore.jks in server, datasource still don’t work. i’m working 5.0.0 in advance.

when add own certificate, need modify wso2 configuration files point certificate. basically, need modify repository/conf/carbon.xml, , repository/conf/tomcat/catalina-server.xml. in case of esb, need modify repository/conf/axis2/axis2.xml well. changes needed described in blog.

the error faced data sources because of change of certificates. reason that, wso2 encrypts datasource passwords using current keystore certificate @ time of datasource creation. fix error, need remove datasources, , re-add them. no need re-create data-services though.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -