# OwnCert: Folder path and Key Type

**URL:** <https://openvidu.discourse.group/t/owncert-folder-path-and-key-type/1637>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [July 27, 2020, 6:55pm UTC](https://openvidu.discourse.group/t/owncert-folder-path-and-key-type/1637 "2020-07-27T18:55:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghubmak](https://avatars.discourse-cdn.com/v4/letter/g/c37758/32.png) [@ghubmak](https://openvidu.discourse.group/u/ghubmak)\
**Post date:** [July 27, 2020, 6:55pm UTC](https://openvidu.discourse.group/t/owncert-folder-path-and-key-type/1637/1 "2020-07-27T18:55:54Z")

</div>

Hi Team,  
I’m trying to setup open vidu server with proper ssl certificate from digicert. And little stumped 🙂

Below are the details

1. OnPrem deployment.  
Not using docker.  
Version 2.15.0
2. Folder structure is  
-Media  
—owncert  
—openvidu  
——openvidu-server  
———-security/main/resource/application.properties
3. In application.properties I have  
server.ssl.key-store=  
server.ssl.key-store-password=  
server.ssl.key-store-type=  
Certificate\_Type=owncert
4. I go to path ‘media/openvidu/openvidu-server/‘ and then run ‘mvn exec:Java’

Problem I am facing:  
Error: Failed to load key store type [] with path [file:/media/openvidu/openvidu-server/] due to [not found]

Few things:

1. I am not so clear where to place the owncert folder
2. Not sure if my config entries are correct. Because I haven’t specified my key and cert filename any we’re. not sure how app takes it.
3. For now I am executing app like ‘mvn exec:Java’ not sure if thats correct way to do

If someone can help me with what I am doing wrong or any document which talks about how to use owncert in detailed way could help.

Highly approachable ur help  
Cheers

---

<div class="post-metadata">

**Author:** ![ghubmak](https://avatars.discourse-cdn.com/v4/letter/g/c37758/32.png) [@ghubmak](https://openvidu.discourse.group/u/ghubmak)\
**Post date:** [July 28, 2020, 6:59pm UTC](https://openvidu.discourse.group/t/owncert-folder-path-and-key-type/1637/2 "2020-07-28T18:59:28Z")

</div>

Thank you team. After a little bit of reading the documents. I was able to setup ssl with local deployment. I just converted pen file to jks and hosted the app by specifying Jks file path in key-store properties.

Thanks
