# Internal authentication service: getCertificate API not found

**URL:** <https://community.mosip.io/t/internal-authentication-service-getcertificate-api-not-found/240>\
**Category:** Developer\
**Tags:** keymanager, security, certification\
**Created:** [November 23, 2022, 9:46am UTC](https://community.mosip.io/t/internal-authentication-service-getcertificate-api-not-found/240 "2022-11-23T09:46:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThalesNejib](https://avatars.discourse-cdn.com/v4/letter/t/65b543/32.png) [@ThalesNejib](https://community.mosip.io/u/ThalesNejib)\
**Post date:** [November 23, 2022, 9:46am UTC](https://community.mosip.io/t/internal-authentication-service-getcertificate-api-not-found/240/1 "2022-11-23T09:46:30Z")

</div>

Hello,

I working with authentication-demo-ui,  
in application.properties ([authentication-demo-ui/application.properties at master · mosip/authentication-demo-ui · GitHub](https://github.com/mosip/authentication-demo-ui/blob/master/authentication-demo-ui/src/main/resources/application.properties)) i found the bellow configuration:

ida.certificate.url = ${mosip.base.url}/idauthentication/v1/internal/getCertificate

But in internal authentication service the getCertificate API dosen’t exist.

Any idea about this issue

---

<div class="post-metadata">

**Author:** ![Madhu\_Gn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/madhu_gn/32/147_2.png) [@Madhu\_Gn](https://community.mosip.io/u/Madhu_Gn)\
**Post date:** [November 24, 2022, 5:34am UTC](https://community.mosip.io/t/internal-authentication-service-getcertificate-api-not-found/240/2 "2022-11-24T05:34:10Z")

</div>

@ThalesNejib

which version of the application you are using ,  
please check in the idauthentication of internal swagger, we can able to see getCertificate API .

Attached screenshot for reference

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/65e3112ccfe8a189c8a5f1a49cfecfbdb7adee42.png)

Regards,  
Madhu

---

<div class="post-metadata">

**Author:** ![ThalesNejib](https://avatars.discourse-cdn.com/v4/letter/t/65b543/32.png) [@ThalesNejib](https://community.mosip.io/u/ThalesNejib)\
**Post date:** [November 24, 2022, 11:03am UTC](https://community.mosip.io/t/internal-authentication-service-getcertificate-api-not-found/240/3 "2022-11-24T11:03:34Z")

</div>

@Madhu_Gn Thank you for the reply, i working with release-1.2.0.1 version, yes i found the API using swagger of authentication-internal-service. but the API is not exist in all controller class of this service maybe the swagger description is founded in keymanager of kernel-core dependencies.

So actualy i used /keymanager/getCertificate and is worked, kindly do you confirm is the best practice to use this API of keymanager by authentication-demo desktop application.

---

<div class="post-metadata">

**Author:** ![gsasikumar](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@gsasikumar](https://community.mosip.io/u/gsasikumar)\
**Post date:** [November 24, 2022, 11:44am UTC](https://community.mosip.io/t/internal-authentication-service-getcertificate-api-not-found/240/4 "2022-11-24T11:44:15Z")

</div>

Keymanager is not exposed to external parties. Auth demo is expected to work from an external network or the internet. So the advice is to use authentication API. Also, the auth demo is a reference only. In the real world, you may want to cache this certificate and other data to make it work efficiently.
