Configuring SSL in Weblogic












2















I trying to configure SSL for my weblogic server 12.2.1. I created self-signed keystore and truststore SSL certificates using JDK keytool utility, configured it through the Admin console, set "SSL listen port enabled" to true and changed it to 8888. After all, I deployed my web service to the server. So, web service works on https with no problem. But when I want to restart weblogic, I get this error:



javax.naming.CommunicationException: t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is: 
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is:
java.rmi.ConnectException: [RJVM:000576]No available router to destination. [Root exception is java.net.ConnectException: t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is:
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is:
java.rmi.ConnectException: [RJVM:000576]No available router to destination.]

Problem invoking WLST - Traceback (innermost last):
File "C:OracleMiddlewareOracle_Homeuser_projectsdomainsbase_domainshutdown-AdminServer.py", line 3, in ?
File "<iostream>", line 19, in connect
File "<iostream>", line 553, in raiseWLSTException
WLSTException: Error occurred while performing connect : Cannot connect via t3s or https. If using demo certs, verify that the -Dweblogic.security.TrustKeyStore=DemoTrust system property is set. : t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is:
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is:
java.rmi.ConnectException: [RJVM:000576]No available router to destination.


What is the reason for appearing this problem? How to fix it? I also checked config.xml and it contains actual information about port. For developing I use Eclipse Neon. Thanks.










share|improve this question

























  • possible duplicated stackoverflow.com/questions/24489922/…

    – devwebcl
    Nov 19 '18 at 19:37











  • @devwebcl I have already seen this post and I tried to use solutions that described there but it doesn't help...Are there any other ways to resolve it?

    – Nick Sheinov
    Nov 20 '18 at 0:34











  • Are you restarting the admin server or a manager server from the same domain ?

    – Emmanuel Collin
    Nov 20 '18 at 12:15











  • @EmmanuelCollin yes, I have only one domain and I restarting server using eclipse. Console prints error as above.

    – Nick Sheinov
    Nov 20 '18 at 17:37













  • As far as I can tell, wlst does not trust the self signed certificate of the AdminServer, when executing the shutdown-AdminServer.py. I think that you need to import the self signed certificate to the default java's trust store (cacerts) using java keytool.

    – komarios
    Dec 4 '18 at 12:57


















2















I trying to configure SSL for my weblogic server 12.2.1. I created self-signed keystore and truststore SSL certificates using JDK keytool utility, configured it through the Admin console, set "SSL listen port enabled" to true and changed it to 8888. After all, I deployed my web service to the server. So, web service works on https with no problem. But when I want to restart weblogic, I get this error:



javax.naming.CommunicationException: t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is: 
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is:
java.rmi.ConnectException: [RJVM:000576]No available router to destination. [Root exception is java.net.ConnectException: t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is:
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is:
java.rmi.ConnectException: [RJVM:000576]No available router to destination.]

Problem invoking WLST - Traceback (innermost last):
File "C:OracleMiddlewareOracle_Homeuser_projectsdomainsbase_domainshutdown-AdminServer.py", line 3, in ?
File "<iostream>", line 19, in connect
File "<iostream>", line 553, in raiseWLSTException
WLSTException: Error occurred while performing connect : Cannot connect via t3s or https. If using demo certs, verify that the -Dweblogic.security.TrustKeyStore=DemoTrust system property is set. : t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is:
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is:
java.rmi.ConnectException: [RJVM:000576]No available router to destination.


What is the reason for appearing this problem? How to fix it? I also checked config.xml and it contains actual information about port. For developing I use Eclipse Neon. Thanks.










share|improve this question

























  • possible duplicated stackoverflow.com/questions/24489922/…

    – devwebcl
    Nov 19 '18 at 19:37











  • @devwebcl I have already seen this post and I tried to use solutions that described there but it doesn't help...Are there any other ways to resolve it?

    – Nick Sheinov
    Nov 20 '18 at 0:34











  • Are you restarting the admin server or a manager server from the same domain ?

    – Emmanuel Collin
    Nov 20 '18 at 12:15











  • @EmmanuelCollin yes, I have only one domain and I restarting server using eclipse. Console prints error as above.

    – Nick Sheinov
    Nov 20 '18 at 17:37













  • As far as I can tell, wlst does not trust the self signed certificate of the AdminServer, when executing the shutdown-AdminServer.py. I think that you need to import the self signed certificate to the default java's trust store (cacerts) using java keytool.

    – komarios
    Dec 4 '18 at 12:57
















2












2








2








I trying to configure SSL for my weblogic server 12.2.1. I created self-signed keystore and truststore SSL certificates using JDK keytool utility, configured it through the Admin console, set "SSL listen port enabled" to true and changed it to 8888. After all, I deployed my web service to the server. So, web service works on https with no problem. But when I want to restart weblogic, I get this error:



javax.naming.CommunicationException: t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is: 
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is:
java.rmi.ConnectException: [RJVM:000576]No available router to destination. [Root exception is java.net.ConnectException: t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is:
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is:
java.rmi.ConnectException: [RJVM:000576]No available router to destination.]

Problem invoking WLST - Traceback (innermost last):
File "C:OracleMiddlewareOracle_Homeuser_projectsdomainsbase_domainshutdown-AdminServer.py", line 3, in ?
File "<iostream>", line 19, in connect
File "<iostream>", line 553, in raiseWLSTException
WLSTException: Error occurred while performing connect : Cannot connect via t3s or https. If using demo certs, verify that the -Dweblogic.security.TrustKeyStore=DemoTrust system property is set. : t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is:
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is:
java.rmi.ConnectException: [RJVM:000576]No available router to destination.


What is the reason for appearing this problem? How to fix it? I also checked config.xml and it contains actual information about port. For developing I use Eclipse Neon. Thanks.










share|improve this question
















I trying to configure SSL for my weblogic server 12.2.1. I created self-signed keystore and truststore SSL certificates using JDK keytool utility, configured it through the Admin console, set "SSL listen port enabled" to true and changed it to 8888. After all, I deployed my web service to the server. So, web service works on https with no problem. But when I want to restart weblogic, I get this error:



javax.naming.CommunicationException: t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is: 
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is:
java.rmi.ConnectException: [RJVM:000576]No available router to destination. [Root exception is java.net.ConnectException: t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is:
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is:
java.rmi.ConnectException: [RJVM:000576]No available router to destination.]

Problem invoking WLST - Traceback (innermost last):
File "C:OracleMiddlewareOracle_Homeuser_projectsdomainsbase_domainshutdown-AdminServer.py", line 3, in ?
File "<iostream>", line 19, in connect
File "<iostream>", line 553, in raiseWLSTException
WLSTException: Error occurred while performing connect : Cannot connect via t3s or https. If using demo certs, verify that the -Dweblogic.security.TrustKeyStore=DemoTrust system property is set. : t3s://localhost:8888: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 8888 unreachable.; nested exception is:
java.net.ConnectException: Connection refused: connect; [RJVM:000576]No available router to destination.; nested exception is:
java.rmi.ConnectException: [RJVM:000576]No available router to destination.


What is the reason for appearing this problem? How to fix it? I also checked config.xml and it contains actual information about port. For developing I use Eclipse Neon. Thanks.







java eclipse ssl weblogic12c






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 19 '18 at 16:04







Nick Sheinov

















asked Nov 19 '18 at 11:40









Nick SheinovNick Sheinov

185




185













  • possible duplicated stackoverflow.com/questions/24489922/…

    – devwebcl
    Nov 19 '18 at 19:37











  • @devwebcl I have already seen this post and I tried to use solutions that described there but it doesn't help...Are there any other ways to resolve it?

    – Nick Sheinov
    Nov 20 '18 at 0:34











  • Are you restarting the admin server or a manager server from the same domain ?

    – Emmanuel Collin
    Nov 20 '18 at 12:15











  • @EmmanuelCollin yes, I have only one domain and I restarting server using eclipse. Console prints error as above.

    – Nick Sheinov
    Nov 20 '18 at 17:37













  • As far as I can tell, wlst does not trust the self signed certificate of the AdminServer, when executing the shutdown-AdminServer.py. I think that you need to import the self signed certificate to the default java's trust store (cacerts) using java keytool.

    – komarios
    Dec 4 '18 at 12:57





















  • possible duplicated stackoverflow.com/questions/24489922/…

    – devwebcl
    Nov 19 '18 at 19:37











  • @devwebcl I have already seen this post and I tried to use solutions that described there but it doesn't help...Are there any other ways to resolve it?

    – Nick Sheinov
    Nov 20 '18 at 0:34











  • Are you restarting the admin server or a manager server from the same domain ?

    – Emmanuel Collin
    Nov 20 '18 at 12:15











  • @EmmanuelCollin yes, I have only one domain and I restarting server using eclipse. Console prints error as above.

    – Nick Sheinov
    Nov 20 '18 at 17:37













  • As far as I can tell, wlst does not trust the self signed certificate of the AdminServer, when executing the shutdown-AdminServer.py. I think that you need to import the self signed certificate to the default java's trust store (cacerts) using java keytool.

    – komarios
    Dec 4 '18 at 12:57



















possible duplicated stackoverflow.com/questions/24489922/…

– devwebcl
Nov 19 '18 at 19:37





possible duplicated stackoverflow.com/questions/24489922/…

– devwebcl
Nov 19 '18 at 19:37













@devwebcl I have already seen this post and I tried to use solutions that described there but it doesn't help...Are there any other ways to resolve it?

– Nick Sheinov
Nov 20 '18 at 0:34





@devwebcl I have already seen this post and I tried to use solutions that described there but it doesn't help...Are there any other ways to resolve it?

– Nick Sheinov
Nov 20 '18 at 0:34













Are you restarting the admin server or a manager server from the same domain ?

– Emmanuel Collin
Nov 20 '18 at 12:15





Are you restarting the admin server or a manager server from the same domain ?

– Emmanuel Collin
Nov 20 '18 at 12:15













@EmmanuelCollin yes, I have only one domain and I restarting server using eclipse. Console prints error as above.

– Nick Sheinov
Nov 20 '18 at 17:37







@EmmanuelCollin yes, I have only one domain and I restarting server using eclipse. Console prints error as above.

– Nick Sheinov
Nov 20 '18 at 17:37















As far as I can tell, wlst does not trust the self signed certificate of the AdminServer, when executing the shutdown-AdminServer.py. I think that you need to import the self signed certificate to the default java's trust store (cacerts) using java keytool.

– komarios
Dec 4 '18 at 12:57







As far as I can tell, wlst does not trust the self signed certificate of the AdminServer, when executing the shutdown-AdminServer.py. I think that you need to import the self signed certificate to the default java's trust store (cacerts) using java keytool.

– komarios
Dec 4 '18 at 12:57














0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53373873%2fconfiguring-ssl-in-weblogic%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53373873%2fconfiguring-ssl-in-weblogic%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Tangent Lines Diagram Along Smooth Curve

Yusuf al-Mu'taman ibn Hud

Zucchini