Quantcast
Channel: The Middleware Shop » Liberty Profile
Viewing all articles
Browse latest Browse all 13

CWWKS9113E: The SSL port is not active

$
0
0

Error when trying to log into the Liberty Profile Admin Center

[ERROR ] CWWKS9113E: The SSL port is not active. The incoming http request cannot be redirected to a secure port. Check the server.xml file for configuration errors. The https port may be disabled. The keyStore element may be missing or incorrectly specified. The SSL feature may not be enabled.

[ERROR ] CWWKS3005E: A configuration exception has occurred. No UserRegistry implementation service is available. Ensure that you have a user registry configured.

[ERROR ] CWWKS9113E: The SSL port is not active. The incoming http request cannot be redirected to a secure port. Check the server.xml file for configuration errors. The https port may be disabled. The keyStore element may be missing or incorrectly specified. The SSL feature may not be enabled.

[ERROR ] CWWKS9113E: The SSL port is not active. The incoming http request cannot be redirected to a secure port. Check the server.xml file for configuration errors. The https port may be disabled. The keyStore element may be missing or incorrectly specified. The SSL feature may not be enabled.

[ERROR ] Error Page Exception: com.ibm.ws.ui /adminCenter Error Page Exception

com.ibm.ws.webcontainer.webapp.WebAppErrorReport: com.ibm.ws.webcontainer.security.internal.WebSecurityCollaboratorException: Resource must be accessed with a secure connection try again using an HTTPS connection.

at com.ibm.ws.webcontainer.security.WebAppSecurityCollaboratorImpl.validateWebReply(WebAppSecurityCollaboratorImpl.java:578)

at [internal classes]

Caused by: com.ibm.ws.webcontainer.security.internal.WebSecurityCollaboratorException: Resource must be accessed with a secure connection try again using an HTTPS connection.

… 3 more

 

Solution

Add the following to the server.xml

 

Option a)

<!– Define an Administrator and non-Administrator –>

<basicRegistry id=”basic”>

<user name=”admin” password=”adminpwd” />

<user name=”nonadmin” password=”nonadminpwd” />

</basicRegistry>

 

<!– Assign ‘admin’ to Administrator –>

<administrator-role>

<user>admin</user>

</administrator-role>

 

<keyStore id=”defaultKeyStore” password=”Liberty” />

 

<httpEndpoint id=”defaultHttpEndpoint”

host=”*”

httpPort=”9080″

httpsPort=”9443″ />

 

 

Option b)

Create a quick start user, that is not part of a role-based registry

<quickStartSecurity userName=”admin” userPassword=”adminpwd” />

    <keyStore id=”defaultKeyStore” password=”Liberty” />

 

<!– To access this server from a remote client add a host attribute to the following element, e.g. host=”*” –>

<httpEndpoint id=”defaultHttpEndpoint”

httpPort=”9080″

httpsPort=”9443″ />


Viewing all articles
Browse latest Browse all 13

Trending Articles