# The error for starting the container of bitwardenrs

**URL:** <https://vaultwarden.discourse.group/t/the-error-for-starting-the-container-of-bitwardenrs/515>\
**Category:** Help\
**Created:** [January 8, 2021, 12:14pm UTC](https://vaultwarden.discourse.group/t/the-error-for-starting-the-container-of-bitwardenrs/515 "2021-01-08T12:14:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lousong](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@lousong](https://vaultwarden.discourse.group/u/lousong)\
**Post date:** [January 8, 2021, 12:14pm UTC](https://vaultwarden.discourse.group/t/the-error-for-starting-the-container-of-bitwardenrs/515/1 "2021-01-08T12:14:03Z")

</div>

Hi, I’m a new Bitwarden\_rs user and I am using docker on Centos 8(docker run).I had installed openssl and openssl-devel,but I find the error when I starting the container.

shellResult: | Version 1.18.0 |  
|--------------------------------------------------------------------|  
| This is an _unofficial_ Bitwarden implementation, DO NOT use the |  
| official channels to report bugs/features, regardless of client. |  
| Send usage/configuration questions or feature requests to: |  
| [https://vaultwarden.discourse.group/](https://vaultwarden.discourse.group/) |  
| Report suspected bugs/issues in the software itself at: |  
| [https://github.com/dani-garcia/bitwarden\_rs/issues/new](https://github.com/dani-garcia/bitwarden_rs/issues/new) |  
--------------------------------------------------------------------/

[INFO] No .env file found.

[2021-01-08 19:57:00.273][bitwarden\_rs][INFO] JWT keys don’t exist, checking if OpenSSL is available…  
OpenSSL 1.1.1d 10 Sep 2019  
[2021-01-08 19:57:00.292][bitwarden\_rs][INFO] OpenSSL detected, creating keys…  
genrsa: Can’t open “data/rsa\_key.pem” for writing, No such file or directory  
Can’t open data/rsa\_key.pem for reading, No such file or directory  
140202111382656:error:02001002:system library:fopen:No such file or directory:…/crypto/bio/bss\_file.c:69:fopen(‘data/rsa\_key.pem’,‘r’)  
140202111382656:error:2006D080:BIO routines:BIO\_new\_file:no such file:…/crypto/bio/bss\_file.c:76:  
unable to load Private Key  
Can’t open data/rsa\_key.der for reading, No such file or directory  
140579742893184:error:02001002:system library:fopen:No such file or directory:…/crypto/bio/bss\_file.c:69:fopen(‘data/rsa\_key.der’,‘rb’)  
140579742893184:error:2006D080:BIO routines:BIO\_new\_file:no such file:…/crypto/bio/bss\_file.c:76:  
unable to load Private Key  
[2021-01-08 19:57:00.303][bitwarden\_rs][ERROR] Error creating keys, exiting…

How to resolve that?  
Thanks!

---

<div class="post-metadata">

**Author:** ![BlackDex](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/blackdex/32/8_2.png) [@BlackDex](https://vaultwarden.discourse.group/u/BlackDex)\
**Post date:** [January 8, 2021, 5:04pm UTC](https://vaultwarden.discourse.group/t/the-error-for-starting-the-container-of-bitwardenrs/515/2 "2021-01-08T17:04:48Z")

</div>

It looks like the data folder/volume isn’t configured correctly.  
Could you post your docker run command? Or docker-compose file?

---

<div class="post-metadata">

**Author:** ![Antergosgeek](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@Antergosgeek](https://vaultwarden.discourse.group/u/Antergosgeek)\
**Post date:** [January 15, 2021, 1:39am UTC](https://vaultwarden.discourse.group/t/the-error-for-starting-the-container-of-bitwardenrs/515/3 "2021-01-15T01:39:28Z")

</div>

I concur with BlackDex
