2016-11-04 11:35 AM - edited 2016-11-04 11:37 AM
ApiRunner ontapiRunner = new ApiRunner(ApiTarget.builder().withHost(host).withPort(port).withUserName(username).withPassword(password).withTargetType(TargetType.FILER).useProtocol(Protocol.HTTP).build());
What are minimal configuration requirements to talk to the OntapApi using HTTPS for ONTAP 9.0? The above code works IF I enabled the http option using the advanced settings.
If I disable the http option, and change to Protocol.HTTPS or Protocol.INSECURE_HTTPS, I get connection refused. However, if i re-rename the http option and use either of the HTTPS options in the API I get Unrecognized SSL message, plaintext connection?
2016-11-08 03:39 AM
I had a similar issue and I end up debugging NetApp Python library to find in which line it makes the connection to filer. Maybe you need that to.
I've just wrote the following post about that:
2017-02-14 12:10 PM
This may have nothing to do with your situation, but I noticed the other day that ONTAP 9.0 seems to require a working reverse DNS PTR record in DNS (for cluster_mgmt). Those are normally in place but if accidentally omitted, ONTAP 8.3.2 let you get away with, ONTAP 9.0 does not. This may be part of TLS, I don't know.
2017-02-16 02:49 AM