SmartGridready / SGrJava

SmartGridready communication handler in Java
Other
0 stars 0 forks source link

73 support mqtt tls parameters and no authentication #75

Closed mkrebs81 closed 5 months ago

mkrebs81 commented 5 months ago

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

mkrebs81 commented 5 months 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 5 months 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 5 months ago

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