Skip to content

coap-gateway: log peer leaf certificate when tls handshake fails#715

Merged
jkralik merged 1 commit into
mainfrom
jkralik/feature/logX509WhenHandshakeFailes
Apr 22, 2022
Merged

coap-gateway: log peer leaf certificate when tls handshake fails#715
jkralik merged 1 commit into
mainfrom
jkralik/feature/logX509WhenHandshakeFailes

Conversation

@jkralik
Copy link
Copy Markdown
Member

@jkralik jkralik commented Apr 22, 2022

example:

{"L":"WARN","T":"2022-04-22T15:20:39.260669574Z","M":"plgd/dps: tcp: 127.0.0.1:47758: cannot send CSM: cannot write to connection: untrusted certificate","x509":{"issuerName":"issuerTest","notAfter":"2022-04-22T16:20:39Z","notBefore":"2022-04-22T14:20:39Z","serialNumber":"142123811105214257051788552604658124245","subjectName":"test"}}

@jkralik jkralik requested a review from ondrejtomcik April 22, 2022 13:34
@jkralik jkralik force-pushed the jkralik/feature/logX509WhenHandshakeFailes branch from a03c596 to 5c668a6 Compare April 22, 2022 13:39
@jkralik jkralik force-pushed the jkralik/feature/logX509WhenHandshakeFailes branch from 5c668a6 to 6e7c844 Compare April 22, 2022 15:18
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

76.8% 76.8% Coverage
0.0% 0.0% Duplication

@jkralik jkralik merged commit 5f65f56 into main Apr 22, 2022
@jkralik jkralik deleted the jkralik/feature/logX509WhenHandshakeFailes branch April 22, 2022 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants