Skip to content

How to reference a common name inside a client certification in server.Events? #87

Discussion options

You must be logged in to vote

How about instead of trying to do it in the EstablishFunc set up a VerifyPeerCertificate function on the Server's TLSConfig?

tlsConfig := &tls.Config{
  . . .
		VerifyPeerCertificate:  <your.function>,
	}

Also, I'd be really interested in hearing about the reasons that helped you to decide to spin your own solution intsead of using AWS IoT? Either here or could I contact you off list?

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@YamazakiYasuhiro
Comment options

@YamazakiYasuhiro
Comment options

@RangelReale
Comment options

@YamazakiYasuhiro
Comment options

Answer selected by YamazakiYasuhiro
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@RangelReale
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants