Skip to main content
NetApp Knowledge Base

OpenStack: 'Hostname mismatch' error seen when using wildcard certificates

Last Updated:

Applies to

  • Openstack
  • OSP 17.1
  • RedHat Enterprise Linux (RHEL) 9.2
  • Python 3.9.16
  • Cinder driver


An issue has been seen in OSP 17.1/ RHEL 9.2 when:
  • ONTAP is using a wildcard CA signed certificate
  • The Cinder driver has HTTPs enabled

In the Cinder volume.log, the following SSH handshake error is seen:

2023-08-16 01:34:00.101 14 ERROR cinder.volume.drivers.netapp.dataontap.client.api [req-cd09e8b0-a3b7-4959-c8e3-ee52c829bc26 - - - - -] Error communicating with NetApp filer.: urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for ''. (_ssl.c:1129)>


Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.