A method for a scanner that supports a setting for TLS (Transport Layer Security) of a communication via a network, the method comprising,
- receiving a request according to a predetermined protocol from an information processing apparatus, wherein the information processing apparatus executes a program that uses the predetermined protocol;
- and
- transmitting, in response to the request, a response,
- wherein the response indicating that a predetermined function is possible is transmitted to the information processing apparatus, in a case where the setting for TLS of the scanner is enabled, and
- wherein the response not indicating that the predetermined function is possible is transmitted to the information processing apparatus, in a case where the setting for TLS of the scanner is disabled,
- wherein the predetermined function is a function that requires transmission of credential data from the information processing apparatus to the scanner via the network.