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?
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.