This thing is that ssl certificate erros will happen
before the RPC reaches your code(ie the code for your routes), so you can't "send back" any high level error.
You have to handle those in your client.
[below is not a good idea]
You could also disable the server ssl verification(eg
GRPC_SSL_REQUEST_CLIENT_CERTIFICATE_BUT_DONT_VERIFY), and then do whatever you want in you custom AuthMetadataProcessor.