Skip to content

Commit

Permalink
7472-Hostname verification-1
Browse files Browse the repository at this point in the history
7472-Hostname verification-1

#7472
  • Loading branch information
ramkumar-k-9286 committed Aug 23, 2024
1 parent 112f0da commit 89c5227
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion modules/reference/pages/feature/transportSecurity/examples.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- <<#configure-specific, Configure specific TLS protocols>>
- <<#outbound, Configure outbound TLS>>
- <<#certs, Provide certificates from an environment variable or a file>>

- <<#hostverify, Hostname verification>>

[#config]
=== Configure transport layer security (TLS)
Expand Down Expand Up @@ -168,3 +168,14 @@ cert_defaultKeyStore="-----BEGIN CERTIFICATE-----
....
-----END CERTIFICATE-----"
----

[#hostverify]
=== Hostname verification

Open Liberty performs hostname verification on SSL certificates. If you want to disable the hostname verification functionality, the `verifyHostname` attribute within the `ssl` tag must be initialized to `false`.

[source,xml]
----
<ssl id="defaultSSLConfig"   keyStoreRef="defaultKeyStore"   trustStoreRef="defaultTrustStore" verifyHostname=“true”/>
----

0 comments on commit 89c5227

Please sign in to comment.