# Authentication-demo-ui Keys folder not created after building with MVN

**URL:** <https://community.mosip.io/t/authentication-demo-ui-keys-folder-not-created-after-building-with-mvn/715>\
**Category:** General\
**Created:** [August 23, 2023, 9:03am UTC](https://community.mosip.io/t/authentication-demo-ui-keys-folder-not-created-after-building-with-mvn/715 "2023-08-23T09:03:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [August 23, 2023, 9:03am UTC](https://community.mosip.io/t/authentication-demo-ui-keys-folder-not-created-after-building-with-mvn/715/1 "2023-08-23T09:03:14Z")

</div>

I have downloaded the Authenticatio-demo UI from here [GitHub - mosip/authentication-demo-ui at develop](https://github.com/mosip/authentication-demo-ui/tree/develop)

I extracted, then edited needed info in the application.properties.

Successfully run mvn clean install to build it.

However, in the ReadMe file, the instruction says"  
" Partner private key and partner certificate will be looked up during the application in `<Currecnt_Working_Directory>/keys/` folder:"

But there is no **keys** folder even after building it with Maven, thus nowhere to place the partner key and certificate.

Do I create a directory named keys ?

---

<div class="post-metadata">

**Author:** ![sanchi-singh24](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/sanchi-singh24/32/538_2.png) [@sanchi-singh24](https://community.mosip.io/u/sanchi-singh24)\
**Post date:** [August 23, 2023, 2:30pm UTC](https://community.mosip.io/t/authentication-demo-ui-keys-folder-not-created-after-building-with-mvn/715/2 "2023-08-23T14:30:06Z")

</div>

Hi @rcsampang

Thanks for letting us know about your query, I can see you are facing an issue with where to place the partner keys and certificate.I have asked one my team members to look into this and help you out with the resolution for this and soon will get an update from our end.

Best Regards,  
Team MOSIP

---

<div class="post-metadata">

**Author:** ![LoganathanSekar7627](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/loganathansekar7627/32/218_2.png) [@LoganathanSekar7627](https://community.mosip.io/u/LoganathanSekar7627)\
**Post date:** [August 24, 2023, 1:07pm UTC](https://community.mosip.io/t/authentication-demo-ui-keys-folder-not-created-after-building-with-mvn/715/3 "2023-08-24T13:07:15Z")

</div>

Yes @rcsampang You will need to create one to put the partner key and certificate.

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [August 28, 2023, 3:53pm UTC](https://community.mosip.io/t/authentication-demo-ui-keys-folder-not-created-after-building-with-mvn/715/4 "2023-08-28T15:53:39Z")

</div>

@LoganathanSekar7627 Thank you! I will do that and will update on the status later.

---

<div class="post-metadata">

**Author:** ![sanchi-singh24](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/sanchi-singh24/32/538_2.png) [@sanchi-singh24](https://community.mosip.io/u/sanchi-singh24)\
**Post date:** [August 29, 2023, 6:09am UTC](https://community.mosip.io/t/authentication-demo-ui-keys-folder-not-created-after-building-with-mvn/715/5 "2023-08-29T06:09:53Z")

</div>

Sure @rcsampang keep us posted

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [August 30, 2023, 8:51am UTC](https://community.mosip.io/t/authentication-demo-ui-keys-folder-not-created-after-building-with-mvn/715/6 "2023-08-30T08:51:44Z")

</div>

Hello! Looks like the Auth Demo UI application is running

However when I try to authenticate a UIN results to Capture Failed

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

Here is the log

16:35:06.766 [Thread-8] INFO io.mosip.mock.sbi.service.SBIWorker - Request data :: CAPTURE /capture HTTP/1.1Content-Length: 476Content-Type: application/json; charset=UTF-8Host: 127.0.0.1:4501Connection: Keep-AliveUser-Agent: Apache-HttpClient/4.5.5 (Java/11.0.14)Accept-Encoding: gzip,deflate{ “env”: “Staging”, “purpose”: “Auth”, “specVersion”: “0.9.5”, “timeout”: “30000”, “captureTime”: “2023-08-30T08:35:06Z”, “domainUri”: “[https://api-internal.dcsmosip.science.upd.edu.ph](https://api-internal.dcsmosip.science.upd.edu.ph)”, “transactionId”: “1234567890”, “bio”: [{ “type”: “Iris”, “count”: “1”, “bioSubType”: [“UNKNOWN”], “requestedScore”: “60”, “deviceId”: “2”, “deviceSubId”: “1”, “previousHash”: “” }], “customOpts”: [{ “name”: “name1”, “value”: “value1” }] }

16:35:06.766 [Thread-8] INFO io.mosip.mock.sbi.service.SBIWorker - Method Name :: CAPTURE  
16:35:06.772 [Thread-8] INFO io.mosip.mock.sbi.service.SBIWorker - Method Valid ::  
16:35:06.781 [Thread-8] INFO io.mosip.mock.sbi.service.SBIServiceResponse - processCaptureInfo :: deviceId :: 2 :: deviceSubId ::1  
16:35:07.567 [Thread-8] INFO io.mosip.mock.sbi.service.SBIWorker - Response data :: HTTP/1.1 200 OK  
Access-Control-Allow-Headers:DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-PINGOTHER,Authorization  
Access-Control-Allow-Origin: \*  
Access-Control-Allow-Methods: “OPTIONS, RCAPTURE, CAPTURE, MOSIPDINFO, MOSIPDISC, STREAM, GET, POST”  
Access-Control-Allow-Credentials: true  
CACHE-CONTROL:no-cache  
Content-Length: 225  
Content-Type: application/json  
LOCATION: [HTTP://127.0.0.1:4501/](HTTP://127.0.0.1:4501/)  
Connection: close

{“biometrics”:[{“specVersion”:“”,“data”:“”,“hash”:“”,“sessionKey”:“”,“thumbprint”:“”,“error”:{“errorCode”:“805”,“errorInfo”:“Device is not connected or not Registered for the deviceId given in Auth Capture request object”}}]}

---

<div class="post-metadata">

**Author:** ![LoganathanSekar7627](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/loganathansekar7627/32/218_2.png) [@LoganathanSekar7627](https://community.mosip.io/u/LoganathanSekar7627)\
**Post date:** [September 11, 2023, 8:50am UTC](https://community.mosip.io/t/authentication-demo-ui-keys-folder-not-created-after-building-with-mvn/715/7 "2023-09-11T08:50:18Z")

</div>

The device ID / device sub id provided may not be correct. Please check the device info of the MDS/SBI.

---

<div class="post-metadata">

**Author:** ![LoganathanSekar7627](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/loganathansekar7627/32/218_2.png) [@LoganathanSekar7627](https://community.mosip.io/u/LoganathanSekar7627)\
**Post date:** [September 11, 2023, 8:52am UTC](https://community.mosip.io/t/authentication-demo-ui-keys-folder-not-created-after-building-with-mvn/715/8 "2023-09-11T08:52:03Z")

</div>

@rcsampang , Also please check the MDS if the device is registered authentication.

---

<div class="post-metadata">

**Author:** ![sanchi-singh24](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/sanchi-singh24/32/538_2.png) [@sanchi-singh24](https://community.mosip.io/u/sanchi-singh24)\
**Post date:** [October 11, 2023, 10:59am UTC](https://community.mosip.io/t/authentication-demo-ui-keys-folder-not-created-after-building-with-mvn/715/9 "2023-10-11T10:59:29Z")

</div>


