Posts

Showing posts from May, 2021

WSO2 APIM 3.0.0 publisher and devportal UI not opening | HTTP 500 Error

Image
Problem Statement Recently I have come across a problem when I have an all-in-one deployment of WSO2 APIM 3.0.0 and I procured a signed SSL certificate. However, post-installation of SSL certificate as per the hostname requirement, the Publisher portal & DevPortal Web UI is not opening and causing HTTP 500 error. Issue Log Below logs captured in carbon console- Caused by: org.mozilla.javascript.WrappedException: Wrapped org.jaggeryjs.scriptengine.exceptions.ScriptException: javax.net.ssl.SSLPeerUnverifiedException: SSL peer failed hostname validation for name: localhost (<<http>>/META-INF/scripts/http.js#220) Solution Changes in following files to replace localhost with actual hostname (mywebsite.com) carbon.xml api-server.xml axis2.xml /repository/deployment/server/jaggeryapps/<PUBLISHER/DEVPORTAL>/site/public/theme/settings.js file, /repository/deployment/server/jaggeryapps/<PUBLISHER/DEVPORTAL>/site/public/theme/settings.js file Service Provider Changes v