On Mon, Aug 2, 2021 at 7:51 PM Qiumin Zhang <
qium...@gmail.com> wrote:
>
> Hi,
>
> The setHostnameVerificationAlgorithm() asks a string name of a specific algorithm, but we need to add a logic for the verifier, is there a workaround?
>
> Qiumin
>
> On Monday, August 2, 2021 at 8:02:16 AM UTC-7
jul...@julienviet.com wrote:
>>
>> Hi,
>>
>> we don't support such feature, we do support specifying the hostname
>> verifier algorithm on the NetClient.
>>
>> can you show client using it other than HttpsURLConnection ?
>>
>> Julien
>>
>> On Mon, Aug 2, 2021 at 8:06 AM Qiumin Zhang <
qium...@gmail.com> wrote:
>> >
>> >
>> > Hi,
>> >
>> > I have a server app which has to use a certificate whose CN is not a valid hostname. When sending a request from my vertx app to the server app, I'd like to have a custom HostnameVerifier to accept this case.
>> >
>> > Checked a lot of code of non-vertx apps, seems the common way is to create a custom verifier by implementing HostnameVerifier. Is it possible to make this work with my vertx client app? Does vertx already support the custom hostname verifierer?
>> >
>> > Thanks
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google Groups "vert.x" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an email to
vertx+un...@googlegroups.com.
>> > To view this discussion on the web, visit
https://groups.google.com/d/msgid/vertx/d9ab8932-37b8-4757-a92b-e12042d5b387n%40googlegroups.com.
>
> --
> You received this message because you are subscribed to the Google Groups "vert.x" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
vertx+un...@googlegroups.com.