jenkinsci / jenkinsci/syslog-java-client

Not able to test TCP communication over TLS

Open
#34 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
91
Forks
71
PR merge metrics
No merged PRs in 30d

Description

Hi,

Can you please provide us clear steps to test TCP over TLS.

I have tried by loading certificates which are available but with that syslog server is not running and getting below error. I know we get below error when server is not running on particluar address and port

```
InetAddress of the Syslog Server have changed, create a new connection
Exception in thread "main" java.net.ConnectException: Exception connecting to /127.0.0.1:6514
```

I have tried by setting another certificate but getting below error

```
Exception in thread "main" javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
```

Where is provision to configure SSL certs in given class `TcpSyslogMessageSender`.?

I need to complete testing TCP over TLS to incorporate this syslog-java-client into my application.

Thanks and Regards,
Arjun

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.