admin管理员组文章数量:1400034
I am attempting to make use of several ADP API calls from within a Visual Studio 2022 C# MVC web application. The calls have all been successfully tested in development utilizing Postman and Visual Studio in "debug" mode. For example, my call to the "api.adp/hcm/v1/validation-tables/jobs" endpoint works flawlessly when run locally from both Postman and Visual Studio, returning a complete list of job titles.
My problem occurs when the Visual Studio project has been uploaded into production. The call made via the web browser to the production server (Windows Server 2022 and IIS 10) results in the following error message: "(0x8009030D): The credentials supplied to the package were not recognized".
I found a similar thread on Stackoverflow at "The credentials supplied to the package were not recognized" error when authenticating as server with certificate generated using BouncyCastle ; however, none of the suggestions there have worked for me.
I have verified that the required SSL certification files (i.e. cert.pfx, cert.key and cert.pem) are in the correct path (../certs/ADP) on the web server. I have also granted read/write permission to the folder and each of the affected files for the generic IIS "IUSR_SERVER" and "IUSR" user accounts, but to no avail. The following screenshots provide details with regard to the permissions that have been granted:
Where do I go from here? I would really like to integrate the APD API into my web app, but I can't seem to find a resolution.
Any assistance is greatly appreciated.
I am attempting to make use of several ADP API calls from within a Visual Studio 2022 C# MVC web application. The calls have all been successfully tested in development utilizing Postman and Visual Studio in "debug" mode. For example, my call to the "api.adp/hcm/v1/validation-tables/jobs" endpoint works flawlessly when run locally from both Postman and Visual Studio, returning a complete list of job titles.
My problem occurs when the Visual Studio project has been uploaded into production. The call made via the web browser to the production server (Windows Server 2022 and IIS 10) results in the following error message: "(0x8009030D): The credentials supplied to the package were not recognized".
I found a similar thread on Stackoverflow at "The credentials supplied to the package were not recognized" error when authenticating as server with certificate generated using BouncyCastle ; however, none of the suggestions there have worked for me.
I have verified that the required SSL certification files (i.e. cert.pfx, cert.key and cert.pem) are in the correct path (../certs/ADP) on the web server. I have also granted read/write permission to the folder and each of the affected files for the generic IIS "IUSR_SERVER" and "IUSR" user accounts, but to no avail. The following screenshots provide details with regard to the permissions that have been granted:
Where do I go from here? I would really like to integrate the APD API into my web app, but I can't seem to find a resolution.
Any assistance is greatly appreciated.
Share Improve this question edited Mar 26 at 20:17 rpowell6 asked Mar 24 at 18:31 rpowell6rpowell6 2451 gold badge4 silver badges18 bronze badges1 Answer
Reset to default 0After numerous attempts and various suggestions, I finally stumbled onto a remedy for this issue. Refer to the February 14, 2022 answer from Sümeyye Çakır in the following post:
"The credentials supplied to the package were not recognized" error when authenticating as server with certificate generated using BouncyCastle
In my case, changing the "Load User Profile" option from false to true on the affected application pool did the trick.
本文标签: sslWhy does my call to the ADP API work locally in Visual Studio but not in productionStack Overflow
版权声明:本文标题:ssl - Why does my call to the ADP API work locally in Visual Studio but not in production? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744234131a2596476.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论