Microsoft Virtualization Discussions

Unable to connect to filer using HTTPS

OUTLAWPIPER
31,872 Views

I'm new to DataOntap and NetApp in general, so I please bear with my ignorance.  I would like to be able to manage my company's filers (both 7-mode and clustered) using the DataOntap Powershell Toolkit, which I have downloaded and imported.  My problem is that I am unable to connect to our filers over HTTPS.

These are my configured HTTP options:

httpd.access                 legacy    

httpd.admin.access           legacy    

httpd.admin.enable           on        

httpd.admin.hostsequiv.enable on        

httpd.admin.max_connections  512       

httpd.admin.ssl.enable       on        

httpd.admin.top-page.authentication on        

httpd.autoindex.enable       off       

httpd.bypass_traverse_checking off       

httpd.enable                 on        

httpd.ipv6.enable            off       

httpd.log.format             common     (value might be overwritten in takeover)

httpd.method.trace.enable    off       

httpd.rootdir                XXX       

httpd.timeout                300        (value might be overwritten in takeover)

httpd.timewait.enable        off        (value might be overwritten in takeover)

I have verified the following:

  • Port 443 is open between me and the filers in question
  • SSL Admin is enabled on the filers
  • I have the root administrator credentials
  • I have tried adding my laptop's name (resolvable via DNS forward and reverse) to the hosts.equiv file, but that did not help
  • I have tried disabling the httpd.admin.hostsequiv.enable option, but that did not help
  • I have tried adding my laptop's hostname to httpd.admin.access, but that did not help
  • I am able to connect using HTTP, but I need to be able to connect using HTTPS.  When using HTTP, I get the following:

PS C:\Windows> $connection = Connect-NaController <Controller Name> -HTTP

PS C:\Windows> $global:CurrentNaController | Format-List *

Ontapi             : 1.19

Vfiler             :

Mode               : Classic

OntapiMajorVersion : 1

OntapiMinorVersion : 19

Version            : NetApp Release 8.1.4P1 7-Mode: Tue Feb 11 23:23:27 PST 2014

Protocol           : HTTP

Proxy              :

TimeoutMsec        : 60000

RetryCount         : 0

Name               : <Controller Name>

Address            : <IP Address>

Port               : 80

Credentials        : NetApp.Ontapi.OntapiCredential

ValidateIncoming   : False

ValidateOutgoing   : False

Trace              : False

  • When I attempt to connect using HTTPS, I get the following error:

PS C:\Windows> $connection = Connect-NaController <Controller Name> -HTTPS

Connect-NaController : Could not connect to <Controller Name> on port 443 for protocol HTTPS.

At line:1 char:35

+ $connection = Connect-NaController <<<<  <Controller Name> -HTTPS

    + CategoryInfo          : InvalidResult: (<Controller Name>:NaController) [Connect-NaController], NaConnectionSSLException

    + FullyQualifiedErrorId : HttpConnectionFailed,DataONTAP.PowerShell.SDK.ConnectNaController

I have also tried pre-storing root admin credentials using a $credentials variable and the -Credentials option, but that did not change anything.

I would be very grateful for assistance getting connected via HTTPS.


Thank you!

10 REPLIES 10
Public