Build docker container from image with SSL certificate in AWS
I'm really new to the whole concepts, so forgive me if the question is silly. So I want to use a containerized service that has apache layer above it, and it requires certification. I want to deploy this on AWS. The problem is when I do docker-compose up -d
it sucessfully built the images, but the container of the apache exited immediately. I tried to do docker *containerID* logs
but no error is shown. I get the certification from creating keypair on AWS EC2, I'm not sure if this is the right thing to do. Anyway here's the apache configuration:
httpd-ssl.conf
Listen 443 https
SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLProtocol all -SSLv3
SSLProxyProtocol all -SSLv3
SSLSessionCache "shmcb:/usr/local/apache2/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300
SSLRandomSeed startup file:/dev/urandom 256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
<VirtualHost _default_:443>
ServerAdmin s.husson@garvan.org.au
ServerName dr-sgc.kccg.garvan.org.au
<IfModule mod_proxy.c>
ProxyPass "/_elasticsearch/" "http://elastic:9200/"
ProxyPassReverse "/_elasticsearch/" "http://elastic:9200/"
RedirectMatch permanent ^/_elasticsearch$ /_elasticsearch/
<Location "/_elasticsearch">
Require method GET OPTIONS
</Location>
<Location "/_elasticsearch/_search">
Require method GET POST OPTIONS
</Location>
Header set Access-Control-Allow-Origin "*"
</IfModule>
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn
SSLEngine on
SSLCertificateFile /usr/local/apache2/ssl/org.crt
SSLCertificateKeyFile /usr/local/apache2/ssl/org.key
SSLCertificateChainFile /usr/local/apache2/ssl/org.pem
SSLCACertificateFile /usr/local/apache2/ssl/org-ca.pem
SSLProtocol All -SSLv3 -SSLv2 +TLSv1
SSLHonorCipherOrder On
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
<Files ~ ".(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
BrowserMatch "MSIE [2-5]"
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x "%r" %b"
</VirtualHost>
httpd.conf
ServerRoot "/usr/local/apache2"
Listen 80
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule filter_module modules/mod_filter.so
LoadModule mime_module modules/mod_mime.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule headers_module modules/mod_headers.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
LoadModule unixd_module modules/mod_unixd.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule rewrite_module modules/mod_rewrite.so
Include conf/extra/httpd-default.conf
<IfModule unixd_module>
User daemon
Group daemon
</IfModule>
ServerAdmin root@localhost
ServerName dr-sgc.kccg.garvan.org.au:80
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "/usr/local/apache2/htdocs"
ErrorLog "logs/error_log"
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
LogFormat "%h %l %u %t "%r" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %I %O" combinedio
</IfModule>
CustomLog "logs/access_log" combined
</IfModule>
AddDefaultCharset UTF-8
EnableSendfile on
Include conf/extra/httpd-ssl.conf
Any help would be appreciated.
amazon-web-services docker ssl amazon-ec2 docker-compose
add a comment |
I'm really new to the whole concepts, so forgive me if the question is silly. So I want to use a containerized service that has apache layer above it, and it requires certification. I want to deploy this on AWS. The problem is when I do docker-compose up -d
it sucessfully built the images, but the container of the apache exited immediately. I tried to do docker *containerID* logs
but no error is shown. I get the certification from creating keypair on AWS EC2, I'm not sure if this is the right thing to do. Anyway here's the apache configuration:
httpd-ssl.conf
Listen 443 https
SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLProtocol all -SSLv3
SSLProxyProtocol all -SSLv3
SSLSessionCache "shmcb:/usr/local/apache2/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300
SSLRandomSeed startup file:/dev/urandom 256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
<VirtualHost _default_:443>
ServerAdmin s.husson@garvan.org.au
ServerName dr-sgc.kccg.garvan.org.au
<IfModule mod_proxy.c>
ProxyPass "/_elasticsearch/" "http://elastic:9200/"
ProxyPassReverse "/_elasticsearch/" "http://elastic:9200/"
RedirectMatch permanent ^/_elasticsearch$ /_elasticsearch/
<Location "/_elasticsearch">
Require method GET OPTIONS
</Location>
<Location "/_elasticsearch/_search">
Require method GET POST OPTIONS
</Location>
Header set Access-Control-Allow-Origin "*"
</IfModule>
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn
SSLEngine on
SSLCertificateFile /usr/local/apache2/ssl/org.crt
SSLCertificateKeyFile /usr/local/apache2/ssl/org.key
SSLCertificateChainFile /usr/local/apache2/ssl/org.pem
SSLCACertificateFile /usr/local/apache2/ssl/org-ca.pem
SSLProtocol All -SSLv3 -SSLv2 +TLSv1
SSLHonorCipherOrder On
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
<Files ~ ".(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
BrowserMatch "MSIE [2-5]"
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x "%r" %b"
</VirtualHost>
httpd.conf
ServerRoot "/usr/local/apache2"
Listen 80
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule filter_module modules/mod_filter.so
LoadModule mime_module modules/mod_mime.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule headers_module modules/mod_headers.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
LoadModule unixd_module modules/mod_unixd.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule rewrite_module modules/mod_rewrite.so
Include conf/extra/httpd-default.conf
<IfModule unixd_module>
User daemon
Group daemon
</IfModule>
ServerAdmin root@localhost
ServerName dr-sgc.kccg.garvan.org.au:80
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "/usr/local/apache2/htdocs"
ErrorLog "logs/error_log"
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
LogFormat "%h %l %u %t "%r" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %I %O" combinedio
</IfModule>
CustomLog "logs/access_log" combined
</IfModule>
AddDefaultCharset UTF-8
EnableSendfile on
Include conf/extra/httpd-ssl.conf
Any help would be appreciated.
amazon-web-services docker ssl amazon-ec2 docker-compose
Have you logged in to the container and reviewed system logs there? Try starting apache in debug mode, manually from in the container.
– Rodrigo M
Nov 22 at 14:51
add a comment |
I'm really new to the whole concepts, so forgive me if the question is silly. So I want to use a containerized service that has apache layer above it, and it requires certification. I want to deploy this on AWS. The problem is when I do docker-compose up -d
it sucessfully built the images, but the container of the apache exited immediately. I tried to do docker *containerID* logs
but no error is shown. I get the certification from creating keypair on AWS EC2, I'm not sure if this is the right thing to do. Anyway here's the apache configuration:
httpd-ssl.conf
Listen 443 https
SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLProtocol all -SSLv3
SSLProxyProtocol all -SSLv3
SSLSessionCache "shmcb:/usr/local/apache2/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300
SSLRandomSeed startup file:/dev/urandom 256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
<VirtualHost _default_:443>
ServerAdmin s.husson@garvan.org.au
ServerName dr-sgc.kccg.garvan.org.au
<IfModule mod_proxy.c>
ProxyPass "/_elasticsearch/" "http://elastic:9200/"
ProxyPassReverse "/_elasticsearch/" "http://elastic:9200/"
RedirectMatch permanent ^/_elasticsearch$ /_elasticsearch/
<Location "/_elasticsearch">
Require method GET OPTIONS
</Location>
<Location "/_elasticsearch/_search">
Require method GET POST OPTIONS
</Location>
Header set Access-Control-Allow-Origin "*"
</IfModule>
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn
SSLEngine on
SSLCertificateFile /usr/local/apache2/ssl/org.crt
SSLCertificateKeyFile /usr/local/apache2/ssl/org.key
SSLCertificateChainFile /usr/local/apache2/ssl/org.pem
SSLCACertificateFile /usr/local/apache2/ssl/org-ca.pem
SSLProtocol All -SSLv3 -SSLv2 +TLSv1
SSLHonorCipherOrder On
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
<Files ~ ".(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
BrowserMatch "MSIE [2-5]"
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x "%r" %b"
</VirtualHost>
httpd.conf
ServerRoot "/usr/local/apache2"
Listen 80
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule filter_module modules/mod_filter.so
LoadModule mime_module modules/mod_mime.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule headers_module modules/mod_headers.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
LoadModule unixd_module modules/mod_unixd.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule rewrite_module modules/mod_rewrite.so
Include conf/extra/httpd-default.conf
<IfModule unixd_module>
User daemon
Group daemon
</IfModule>
ServerAdmin root@localhost
ServerName dr-sgc.kccg.garvan.org.au:80
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "/usr/local/apache2/htdocs"
ErrorLog "logs/error_log"
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
LogFormat "%h %l %u %t "%r" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %I %O" combinedio
</IfModule>
CustomLog "logs/access_log" combined
</IfModule>
AddDefaultCharset UTF-8
EnableSendfile on
Include conf/extra/httpd-ssl.conf
Any help would be appreciated.
amazon-web-services docker ssl amazon-ec2 docker-compose
I'm really new to the whole concepts, so forgive me if the question is silly. So I want to use a containerized service that has apache layer above it, and it requires certification. I want to deploy this on AWS. The problem is when I do docker-compose up -d
it sucessfully built the images, but the container of the apache exited immediately. I tried to do docker *containerID* logs
but no error is shown. I get the certification from creating keypair on AWS EC2, I'm not sure if this is the right thing to do. Anyway here's the apache configuration:
httpd-ssl.conf
Listen 443 https
SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLProtocol all -SSLv3
SSLProxyProtocol all -SSLv3
SSLSessionCache "shmcb:/usr/local/apache2/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300
SSLRandomSeed startup file:/dev/urandom 256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
<VirtualHost _default_:443>
ServerAdmin s.husson@garvan.org.au
ServerName dr-sgc.kccg.garvan.org.au
<IfModule mod_proxy.c>
ProxyPass "/_elasticsearch/" "http://elastic:9200/"
ProxyPassReverse "/_elasticsearch/" "http://elastic:9200/"
RedirectMatch permanent ^/_elasticsearch$ /_elasticsearch/
<Location "/_elasticsearch">
Require method GET OPTIONS
</Location>
<Location "/_elasticsearch/_search">
Require method GET POST OPTIONS
</Location>
Header set Access-Control-Allow-Origin "*"
</IfModule>
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn
SSLEngine on
SSLCertificateFile /usr/local/apache2/ssl/org.crt
SSLCertificateKeyFile /usr/local/apache2/ssl/org.key
SSLCertificateChainFile /usr/local/apache2/ssl/org.pem
SSLCACertificateFile /usr/local/apache2/ssl/org-ca.pem
SSLProtocol All -SSLv3 -SSLv2 +TLSv1
SSLHonorCipherOrder On
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
<Files ~ ".(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
BrowserMatch "MSIE [2-5]"
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x "%r" %b"
</VirtualHost>
httpd.conf
ServerRoot "/usr/local/apache2"
Listen 80
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule filter_module modules/mod_filter.so
LoadModule mime_module modules/mod_mime.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule headers_module modules/mod_headers.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
LoadModule unixd_module modules/mod_unixd.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule rewrite_module modules/mod_rewrite.so
Include conf/extra/httpd-default.conf
<IfModule unixd_module>
User daemon
Group daemon
</IfModule>
ServerAdmin root@localhost
ServerName dr-sgc.kccg.garvan.org.au:80
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "/usr/local/apache2/htdocs"
ErrorLog "logs/error_log"
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
LogFormat "%h %l %u %t "%r" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %I %O" combinedio
</IfModule>
CustomLog "logs/access_log" combined
</IfModule>
AddDefaultCharset UTF-8
EnableSendfile on
Include conf/extra/httpd-ssl.conf
Any help would be appreciated.
amazon-web-services docker ssl amazon-ec2 docker-compose
amazon-web-services docker ssl amazon-ec2 docker-compose
asked Nov 22 at 11:17
user3794740
1315
1315
Have you logged in to the container and reviewed system logs there? Try starting apache in debug mode, manually from in the container.
– Rodrigo M
Nov 22 at 14:51
add a comment |
Have you logged in to the container and reviewed system logs there? Try starting apache in debug mode, manually from in the container.
– Rodrigo M
Nov 22 at 14:51
Have you logged in to the container and reviewed system logs there? Try starting apache in debug mode, manually from in the container.
– Rodrigo M
Nov 22 at 14:51
Have you logged in to the container and reviewed system logs there? Try starting apache in debug mode, manually from in the container.
– Rodrigo M
Nov 22 at 14:51
add a comment |
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53429777%2fbuild-docker-container-from-image-with-ssl-certificate-in-aws%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53429777%2fbuild-docker-container-from-image-with-ssl-certificate-in-aws%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you logged in to the container and reviewed system logs there? Try starting apache in debug mode, manually from in the container.
– Rodrigo M
Nov 22 at 14:51