Project

General

Profile

sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

praveen poojary
Added about 2 years ago

Hi I am getting this error when connecting to my tigase instance from Smack client.

Smack code:

 ConnectionConfiguration config = new ConnectionConfiguration("tigase1.cloud.com", 5222);
            config.setDebuggerEnabled(true);

            try {

                XMPPConnection con = new XMPPTCPConnection(config);
                con.connect();

                con.login("prashanth", "test1234", "1234567890");

tigase configuration:

--debug=server
--comp-class-1 = tigase.muc.MUCComponent
--virt-hosts = tigase1.cloud.com
--user-db-uri = jdbc:mysql://localhost/tigasedb?user=tigase&password=tigase
--user-db = mysql
--admins = admin@tigase1.cloud.com
--comp-name-4 = message-archive
config-type = --gen-config-def
--comp-name-2 = pubsub
--comp-name-1 = muc
--cluster-mode = false
--sm-plugins = +message-archive-xep-0136

Replies (1)

Added by Wojciech Kapcia TigaseTeam about 2 years ago

Where do you get this error? Can you share full log with it?

    (1-1/1)