X.509 Chain Building Failed when connecting to the AppFabric

前端 未结 1 1392
耶瑟儿~
耶瑟儿~ 2021-01-15 13:59

Writing a test application for my AppFabric-based library, I started getting a strange exception.

The X.509 certificate CN=servicebus.appfabriclabs.com chain b

1条回答
  •  醉梦人生
    2021-01-15 14:31

    Surprisingly, I had the same problem not so long ago. I contacted the AppFabric team, and they confirmed nothing was wrong with the actual certificate.

    After a lot of scouting around, I considered clearing the CRL, because it gets cached. I finally found the answer in a comment in a blog post.

    This worked for me:

    • Close Visual Studio and make sure all instances & processes related to your test applications are closed
    • Open CMD with elevated priviliges, and type certutil -urlcache * delete
    • I restarted the PC for good measure, but it's not necessary

    Interestingly enough, this does not appear to be an AppFabric issue but something on the Windows machines. Let me know if it works.

    0 讨论(0)
提交回复
热议问题