# The cert-issuer failed while building docker image

**URL:** <https://community.blockcerts.org/t/the-cert-issuer-failed-while-building-docker-image/3246>\
**Category:** Support\
**Created:** [July 6, 2022, 7:13pm UTC](https://community.blockcerts.org/t/the-cert-issuer-failed-while-building-docker-image/3246 "2022-07-06T19:13:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mary.tellez](https://sea2.discourse-cdn.com/flex016/user_avatar/community.blockcerts.org/mary.tellez/32/856_2.png) [@mary.tellez](https://community.blockcerts.org/u/mary.tellez)\
**Post date:** [July 6, 2022, 7:13pm UTC](https://community.blockcerts.org/t/the-cert-issuer-failed-while-building-docker-image/3246/1 "2022-07-06T19:13:29Z")

</div>

The cert-issuer failed while building docker image:  
Error: Config setting for -rpcport only applied on regtest network when in [regtest] section. Please help

---

<div class="post-metadata">

**Author:** ![lemoustachiste](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lemoustachiste](https://community.blockcerts.org/u/lemoustachiste)\
**Post date:** [July 6, 2022, 7:14pm UTC](https://community.blockcerts.org/t/the-cert-issuer-failed-while-building-docker-image/3246/2 "2022-07-06T19:14:49Z")

</div>

You already posted in cert-issuer.  
You need to take a look at your configuration, the error is quite explicit, it seems you can’t have `rpcport` set with `regtest` network. At least this is how I interpret the error, I have never faced it myself.

---

<div class="post-metadata">

**Author:** ![dallarosa](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@dallarosa](https://community.blockcerts.org/u/dallarosa)\
**Post date:** [October 19, 2022, 4:25pm UTC](https://community.blockcerts.org/t/the-cert-issuer-failed-while-building-docker-image/3246/3 "2022-10-19T16:25:50Z")

</div>

@mary.tellez

You can find a solution on my thread.

> [@\[V3\] Errors with cert-issuer on Docker](https://community.blockcerts.org/t/v3-errors-with-cert-issuer-on-docker/3301/2):
>
> Ok! I was able to solve my own problem. It seems that for the bitcoin configurations to work, you need to add a [regtest] to the top of the bitcoin.conf. That will fix the error. The change is in the Dockerfile $‘rpcuser=foo\nrpcpassword=bar\nrpcport=8332\nregtest=1\nrelaypriority=0\nrpcallowip=127.0.0.1\nrpcconnect=127.0.0.1\n’ \> /root/.bitcoin/bitcoin.conf \ becomes $‘[regtest]\nrpcuser=foo\nrpcpassword=bar\nrpcport=8332\nregtest=1\nrelaypriority=0\nrpcallowip=127.0.0.1\nrpcconnect=12…

---

<div class="post-metadata">

**Author:** ![mary.tellez](https://sea2.discourse-cdn.com/flex016/user_avatar/community.blockcerts.org/mary.tellez/32/856_2.png) [@mary.tellez](https://community.blockcerts.org/u/mary.tellez)\
**Post date:** [October 20, 2022, 1:54pm UTC](https://community.blockcerts.org/t/the-cert-issuer-failed-while-building-docker-image/3246/4 "2022-10-20T13:54:40Z")

</div>

[quote=“[V3] Errors with cert-issuer on Docker, post:2, topic:3301”]  
regtest  
[/quote]

I couldn’t find a solution, what I did was install it with pure python and its work!. Greetings!
