我已从此链接下载ADP客户端连接文件夹:
https://github.com/adplabs/adp-connection-php
消息: 通讯错误
状态: 58
响应: 无法加载PEM客户端证书,OpenSSL错误错误:02001003:系统库:fopen:没有这样的过程,(找不到密钥,错误的密码短语或错误的文件格式吗?)
$ADP_APIROOT = "https://iat-api.adp.com/";
//--------------------------------------------------------------------------------------
// The location, on disk, of the certificate for the server.
//--------------------------------------------------------------------------------------
$ADP_CERTFILE = __DIR__ . "/certs/apiclient_iat.pem";
//--------------------------------------------------------------------------------------
// The location, on disk, of the public key of the server
//--------------------------------------------------------------------------------------
$ADP_KEYFILE = __DIR__ . "/certs/apiclient_iat.key";
//--------------------------------------------------------------------------------------
// Client ID and Secrets for each Grant Type
//--------------------------------------------------------------------------------------
// Client Credentials
$ADP_CC_CLIENTID = "88a73992-07f2-4714-ab4b-de782acd9c4d";
$ADP_CC_CLSECRET = "a130adb7-aa51-49ac-9d02-0d4036b63541";
// Authorization Code
$ADP_AC_CLIENTID = "ec762f06-7410-4f6d-aa82-969902c1836a";
$ADP_AC_CLSECRET = "6daf2cd7-4604-46c0-ab43-a645a6571d34";
// Redirect Callback for authorization code calls
$ADP_REDIRECTURL = "http://localhost:8889/callback";
我接受的结果正确连接到ADP。