A communication apparatus comprising: receiving means configured to receive a plurality of communication parameter sets transmitted in response to a request for acquiring a communication parameter set; connecting means configured to directly connect the communication apparatus to another communication apparatus using one of the plurality of communication parameter sets received by the receiving means; and communication means configured to communicate with the other communication apparatus using a communication parameter set among the plurality of communication parameter sets received by the receiving means; characterized in that the plurality of parameter sets is ordered in descending order of security level; and in that the communication means is configured to communicate with the other communication apparatus using a communication parameter set received as a first communication parameter set in the plurality of ordered communication parameter sets received by the receiving means, in a case where direct connection to the other communication apparatus using the communication parameter set received as the first communication parameter set in the plurality of ordered communication parameter sets succeeds; and in that the communication apparatus further comprises requesting means configured to request the other communication apparatus to directly connect to the communication apparatus using the communication parameter set received as the first communication parameter set in the plurality of ordered communication parameter sets in a case where direct connection to the other communication apparatus using a communication parameter set received as a second communication parameter set in the plurality of ordered communication parameter sets received by the receiving means, succeeds. receiving means configured to receive a plurality of communication parameter sets transmitted in response to a request for acquiring a communication parameter set; connecting means configured to directly connect the communication apparatus to another communication apparatus using one of the plurality of communication parameter sets received by the receiving means; and communication means configured to communicate with the other communication apparatus using a communication parameter set among the plurality of communication parameter sets received by the receiving means; characterized in that the plurality of parameter sets is ordered in descending order of security level; and in that the communication means is configured to communicate with the other communication apparatus using a communication parameter set received as a first communication parameter set in the plurality of ordered communication parameter sets received by the receiving means, in a case where direct connection to the other communication apparatus using the communication parameter set received as the first communication parameter set in the plurality of ordered communication parameter sets succeeds; and in that the communication apparatus further comprises requesting means configured to request the other communication apparatus to directly connect to the communication apparatus using the communication parameter set received as the first communication parameter set in the plurality of ordered communication parameter sets in a case where direct connection to the other communication apparatus using a communication parameter set received as a second communication parameter set in the plurality of ordered communication parameter sets received by the receiving means, succeeds.