On 11 June 2015 at 16:19:49, Srikanth P Vasist (
spva...@gmail.com) wrote:
> {verify,verify_peer}
>
> This does a full chain validation of the client certificate.
> I actually want to validate based on thumbprint.
>
>
> Is it possible?
>
>
> Or can we run a custom validation script?
It is possible but not very easy.
You can provide an Erlang function as one of the ssl_options:
search for verify_fun on
http://www.erlang.org/doc/man/ssl.html.
The problem is, for the function to be available at runtime, you need to develop
a tiny plugin and deploy it.
--
MK
Staff Software Engineer, Pivotal/RabbitMQ