{"id":628,"date":"2025-10-29T09:55:12","date_gmt":"2025-10-29T09:55:12","guid":{"rendered":"https:\/\/kloxo.web.id\/?p=628"},"modified":"2025-10-29T09:55:12","modified_gmt":"2025-10-29T09:55:12","slug":"custom-certificates-pada-bunker-web","status":"publish","type":"post","link":"https:\/\/kloxo.web.id\/?p=628","title":{"rendered":"Custom Certificates pada Bunker Web"},"content":{"rendered":"\n<p>catatan aja..karena tuts ini lumayan sulit dicari :<\/p>\n\n\n\n<p>I have been having the same issue and couldn&#8217;t find a solution and been experimenting. So, for someone who face the same issue can follow below instructions to resolve your issue with using a wildcard certificate for all your services.<\/p>\n\n\n\n<p>Convert your certificate to Base64 by running the following command:<br>base64 -w 0 your_certificate.pem<br>Convert your private key to Base64 by running:<br>base64 -w 0 your_certificate.pem<br>Create a .env file in the same folder as docker-compose.yml with the following variables:<br>CUSTOM_CERT=your_certificate_contents_in_base64<br>CUSTOM_KEY=your_private_key_contents_in_base64<br>In your docker-compose.yml file, add these environment variables under the relevant service:<br>environment:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>subdomain.domain.com_CUSTOM_SSL_CERT_DATA=${CUSTOM_CERT}<\/li>\n\n\n\n<li>subdomain.domain.com_CUSTOM_SSL_KEY_DATA=${CUSTOM_KEY}<\/li>\n<\/ul>\n\n\n\n<p>sumber : <a href=\"https:\/\/github.com\/bunkerity\/bunkerweb\/issues\/1175\">https:\/\/github.com\/bunkerity\/bunkerweb\/issues\/1175<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>catatan aja..karena tuts ini lumayan sulit dicari : I have been having the same issue and couldn&#8217;t find a solution and been experimenting. So, for someone who face the same issue can follow below instructions to resolve your issue with using a wildcard certificate for all your services. Convert your certificate to Base64 by running [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-628","post","type-post","status-publish","format-standard","hentry","category-linux-server"],"_links":{"self":[{"href":"https:\/\/kloxo.web.id\/index.php?rest_route=\/wp\/v2\/posts\/628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kloxo.web.id\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kloxo.web.id\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kloxo.web.id\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kloxo.web.id\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=628"}],"version-history":[{"count":1,"href":"https:\/\/kloxo.web.id\/index.php?rest_route=\/wp\/v2\/posts\/628\/revisions"}],"predecessor-version":[{"id":630,"href":"https:\/\/kloxo.web.id\/index.php?rest_route=\/wp\/v2\/posts\/628\/revisions\/630"}],"wp:attachment":[{"href":"https:\/\/kloxo.web.id\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kloxo.web.id\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kloxo.web.id\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}