Salesforce

What is the -nohostverify parameter?

« Go Back

Information

 
TitleWhat is the -nohostverify parameter?
URL Namewhat-does-the-nohostverify-parameter-actually-do
Article Number000184150
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x
OS: All Supported Platforms
Question/Problem Description
What does the -nohostverify parameter actually do?
Does using the -nohostverify parameter disable security?
Does using the -nohostverify parameter open us up to MITM attacks?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
Connections are still open to MITM attacks even if the -nohostverify is NOT being used AND OpenEdge correctly validates the entire Certificate chain from server to client (which is done). These MITM attack vectors probably outweigh the risk associated with turning on -nohostverify and are outside of OpenEdge's ability to mitigate them.

While using -nohostverify does remove the check of the server's official DNS name against the server certificate's CN field of the Subject Name, it fully leaves in place the fact that the entire certificate chain and server private key are verified. Where verification includes each certificate's digital signature against its issue's public key and mandatory version 3 extension fields, starting with the server and ending with the ROOT CA that must be in the client. SelfSigned server certificates must follow the same rules, with the ROOT CA being added to the list of trusted CAs in the client. 

The -nohostverify option was put there to allow a choice on the part of the customer to employ server certificates whose subject name field does not meet with recommended practices of using the server's official DNS name or to compensate for OE's limitations ( ie Wildcard certificates) in performing the current standard for server host name validation.
Workaround
Notes
Keyword Phrase
Last Modified Date2/28/2025 12:51 PM

Powered by