import org.springframework.util.ResourceUtils; String cert_url = "/var/www/html/cert/apiclient_cert2.p12"; //本地获取 File file = ResourceUtils.getFile(cert_url);
import org.springframework.util.ResourceUtils; String cert_url = "/var/www/html/cert/apiclient_cert2.p12"; //本地获取 File file = ResourceUtils.getFile(cert_url);