SmartGridready / SGrJava

SmartGridready communication handler in Java
0 stars 0 forks source link

73 support mqtt tls parameters and no authentication #75

Closed mkrebs81 closed 1 week ago

mkrebs81 commented 1 week ago

implemented based on current SGr specification. can enable/disable TLS and certificate verification. disable authentication when username is empty.

mkrebs81 commented 1 week ago

Please do not approve yet. After conducting several tests with different brokers, it seems that certificate validation is enforced even in default configuration.

mkrebs81 commented 1 week ago

I have found a solution. I had to implement dummy trust managers, but it works now. I have tested it separately, using my own broker, which had no valid certificate.

ergo-furrer commented 1 week ago

@mkrebs81 Looks OK to me. Please merge if all done..