Projects tigase _server server-core Issues #553
Add SSL Certificate (Admin UI) (#553)
Closed
Daniel Wisnewski opened 9 years ago
Due Date
2015-09-29

Adding the following private key (RSA) to tpub.xmpp-test.net

MIIEogIBAAKCAQEA0IRqNbfaaEzGkQ4LXX05+4puAGl3Q+01E3Br7ReLL/yaPc6T

ePIBwACFJugIVJzA3oesRe6hdX6bNRWoJuXxJJB1p+sotsHdwdMA82UTXTsbHWpR

9YB9BnttbExozQWbh5Sc0iRsRseDJOluOQTWixpEU2/khIpo14CyURclddR3UMX0

jdAgrep05J4S2NUmw14X+u3u7UrI0I58Ec22Q9/WXu0nGjWs0H+Tzj/F7g3DF7fz

JMWbESJDKsMhCO1XxXXkbL/LZpdQNrxMIhR3x0OhPM3yO8S6pYJt07UkqLy9iVHe

sVrrgbGKl77QW6Z/DIAOziUNuzPXpSlrKAw7mQIDAQABAoIBABbU6OxI3VleTr/D

UetCsv6gAbt50N1XM+CVBrxHP65ZcmoiHHO5zAdCB1JjRcY+A8BaCrr9jiBXZJdD

b84Sj3z5dGiWjzazs5xthkUgZCZpOmbWJXNERmxXR3v8Qd1xJ76Iv0MjSdfWML3x

8We85+EDV0frkJIStbgjF2NZrXhhQJT4rWGOcXY6fyybR3aQAkEdPbwvCrr4WbrM

C//c283tj6glAA2ktDJYUevFVcKh94JnrDNdh1Q0SUo6g5JHuHq/nn36gsWyKvpb

JIAw8IcPN9s7gyBlWCpSgaazozYysSrLOlUfZyfy2UbcnIJddvKkjnbilrzmvCQx

xdkT7aECgYEA+EeG8dzzZ5s2xEVF5eyrDM05TZHDauiPImy1ppx4W2DiR+hYbWho

j4inAXGWMrVMytDFq23rO7Pi2s1tzwntlX+RzMOoFRAzvQ2eXq0kktakJUkW8OgQ

RjnZboGCd4VkJAXEQ/fy7xg7CfBUpCV5fiJu1mJhcIYXszwVDitW5k8CgYEA1wBa

nCdzTeILHRrVUaxBMHe7PDueI8Sxx2I2xZ9BiCpKagOvi6bJVq3bRgPuTQP3Hl08

iGQGzFLYLw2SeTWtd2lGy4upPMBhRIPwlyX5SWY3EWl2kHTLRDNXhI7Mb7ZmUkEv

Paw3UOmIuWL+vl7qvrLcYfdI+ozRC8MNueyprZcCgYAEXEU7dDT2KdyxX8IVgq2S

YPxTp262LvVsllouXesjN7Vhq+v5p+7GLpE4TkVkCJkbqsT9+MU73DHsw9Tc4QDC

MmZeIUWPcSRnepjAcuwEhC6H1RvJCVpX0WZHMZEYBki29T74Lp+eoV9QEl96LopO

s84ch8fMUR6TcEeyYwJ4swKBgDywIeOAE0EBtEdj4qDqMYB/238WCP5psBDqvTEt

Ue8gmN6x6aRO0PhBnOp3g5WDsAaHJOYO7ghQvisR9q12JF/XfJ9J7dxzJUGUyJ2x

n1tDmfm1Pj1qalH2+BY3xKcn4lwHgFE1Qmv5b5l8wxFzc2mezSxuA9CNXRin10EK

955DAoGAe1NN6ORWyK4IrgDyBngEBecFxiYAWXfRLQM6dNCkDzPDIk4VbEn6Jzbp

dmVWqske72g7MJ254sCinc0A4bhaOvFe+5ydT8zENkkRf2UockSFLJ//WJ5H6JNk

b0h1jMmRqzcK0RXG7KkpKFeSby/qV6jJ0rJf3Xgvn+TpBb9YpxY=

renders the result

Error

Missing private key or private key encoded in uknown format.

Note

Private key cannot be encoded with a password.

wojciech.kapcia@tigase.net commented 9 years ago

Daniel, I think we've already tackled AddCert issues in late October? Can you confirm?

Daniel Wisnewski commented 9 years ago

I am unable to confirm this, currently clicking on Submit Query yields nothing, but the logs balloon quickly. Lots of No componentID matches. execute ssl-certificate-node and associated fields are seen in packets, but it seems to endlessly go on, logs jam up with thousands of iterations of the same cycle.

on shutdown

vhost-man/Checks is 41269

message-router/Packets received 16513

Server was up for less than a minute before shutdown.

Daniel Wisnewski commented 9 years ago

log file added

wojciech.kapcia@tigase.net commented 9 years ago

Daniel, about which UI this is about? I've check the ClientUI/SureIM (you've seemed to assign those to me and counterparts in AdminUI to Andrzej) but it works there. I've checked the logs and see requests to REST component, which would indicate AdminUI. If you can confirm that then please re-assign AdminUI issues to Andrzej.

Daniel Wisnewski commented 9 years ago

%wojtek you are correct, this works on adminUI.

%andrzej.wojcik please have a look at this as time permits.

Andrzej Wójcik (Tigase) commented 9 years ago

I fixed this infinite loop issue.

As for issue reported in description it looks like there is not private key attached to SSL certificate or private key is protected by password which is not acceptable.

Daniel Wisnewski commented 9 years ago

Thanks %andrzej.wojcik the fix works great, adding certs now works (of course in the parameters you described.) Closing issue.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
3438
Version
tigase-server-7.1.0
Spent time
12h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#553
Please wait...
Page is in error, reload to recover