Category : https

I have a dotnet core app that that needs to run inside a windows core container and expose 443 port (https) I passed the certificate to the container, set up the environment variables for user path and password. The application is able to find de certificate but fails with the following error: crit: Microsoft.AspNetCore.Server.Kestrel[0] Unable ..

Read more

The communication between a Web App Document Manager and Web API Document Uploader both in docker containers using HTTPS is not working. I was following the recommendation below on how we can use https in docker containers. I am assuming that I have to sort it out the SSL certificate in the API only. https://github.com/dotnet/AspNetCore.Docs/issues/6199 ..

Read more

I am totally new to Docker but I set up everything for development and deployment that you can see in the below image. I have followed this tutorial for that. Here you can see the file structure and default.conf.tpl file I am also sharing Other file screenshots. This is docker-compose-deploy.yml file screenshot-1 This is docker-compose-deploy.yml ..

Read more

docker-compose.yml version: ‘3’ services: ghost: image: ghost ports: – "60000:2368" volumes: – /var/www/html/blog/ghost_data:/var/lib/ghost/content environment: url: https://coronaemaildate.com/blog nginx/sites-enabled/default server { listen 80 default_server; listen [::]:80 default_server; root /var/www/html; index index.html index.htm index.nginx-debian.html; server_name _; location / { try_files $uri $uri/ =404; } } server { root /var/www/html; index index.html index.htm index.nginx-debian.html; server_name www.coronaemaildate.com coronaemaildate.com; # managed ..

Read more

I have a php:8.0.7-apache docker container. I am attempting to use the verify_peer option in the ssl stream context for my SoapClient with the following settings: $stream = stream_context_create([ ‘ssl’ => [ ‘verify_peer’ => true, ‘cafile’ => ‘/var/www/html/path/to/certificate.pem.crt’, ‘verify_peer_name’ => false, ‘verify_host’ => false, ‘allow_self_signed’ => true ] ]); $options = [ ‘trace’ => true, ..

Read more