Report post You have 30 minutes to complete this form before the CAPTCHA will expire. Security image * Required field JavaScript is required to view this page. Either you do not have JavaScript enabled in your web browser, you do not have cookies enabled in your web browser, or this website is misconfigured such that cookies do not save correctly. This is a reported post for a post in the topic <input class="cms_keep_ui_controlled" size="45" title="[post param="Ubuntu 18.04 SSL configuration on AWS"]540[/post]" type="button" value="post Comcode tag (dbl-click to edit/delete)" />, by Roach<br /><br /><input class="cms_keep_ui_controlled" size="45" title="[quote param="417"]HELLO :) I am new to the NOT but have been around a while. My web application will load on AWS. High level diagram is below. <b>My Challeng</b>e: at this point I need to work out the apache configuration on the AWS Ubuntu 18.04 ec2 instance. I need the apache server to listen on 8080 and install a new certificate on the server. I need step instructions for the apache configuation details below. <img alt="ubuntu_aws_ec2_backend_middleware.png" src="https://nerdonthestreet.com/uploads/attachments/5f618abc3fcee6.41182766.png" title="ubuntu_aws_ec2_backend_middleware.png" /> The dynamic application is hosted in the var/www directory. The static build files are loaded to an S3 bucket. The satic files connect to the backend middleware over port 8080. There is a load balancer that requires a cert to connect to the ec2 targets The load balncer also requies a hreartbeat from the server to connect. So the server also needs an SSL cert and to listen on 8080 Below is the server virtual host file:<!--filtered; no Subject to a more liberal HTML filter-->ServerAdmin info@the_company.com ServerName n-lite.net ServerAlias www.n-lite.net SSLEngine on SSLCertificateFile /etc/certs/certificate.pem SSLCertificateKeyFile /etc/certs/privatekey.pem SSLCertificateChainFile /etc/certs/chain.pem ProxyRequests Off ProxyPreserveHost On ProxyVia Full<br /> <!--filtered; no Subject to a more liberal HTML filter-->Require all granted<!--filtered; no Subject to a more liberal HTML filter--><!--filtered; no Subject to a more liberal HTML filter-->ProxyPass https://3.16.83.124:8080 ProxyPassReverse https://3.16.83.124:8080<!--filtered; no Subject to a more liberal HTML filter--><!--filtered; no Subject to a more liberal HTML filter-->AllowOverride All<!--filtered; no Subject to a more liberal HTML filter--><!--filtered; no Subject to a more liberal HTML filter-->The apache Ports.conf file contains: Listen 80<!--filtered; no Subject to a more liberal HTML filter-->Listen 8080<!--filtered; no Subject to a more liberal HTML filter--><!--filtered; no Subject to a more liberal HTML filter-->Listen 8080<!--filtered; no Subject to a more liberal HTML filter-->The ubuntu server firewall will be locked down to allow 8080 traffic. The application front door DNS is on Cloudflare URL is https://www.n-lite.net When you try to register a new user the server sends a 500 error message. Curl the front door returns 200 success. Curl the server instance directly returns an error. <br />[/quote]" type="button" value="quote Comcode tag (dbl-click to edit/delete)" /><br />//// PUT YOUR REPORT BELOW \\\\<br /><br /> Add: Add: Font Size Color [Font] Arial Courier Georgia Impact Times Trebuchet Verdana Tahoma Geneva Helvetica [Size] 0.8 1 1.5 2 2.5 3 4 [Color] Black Blue Gray Green Orange Purple Red White Yellow This is a reported post for a post in the topic [post param="Ubuntu 18.04 SSL configuration on AWS"]540[/post], by Roach [quote="417"] [semihtml]HELLO :) I am new to the NOT but have been around a while. My web application will load on AWS. High level diagram is below. [b]My Challeng[/b]e: at this point I need to work out the apache configuration on the AWS Ubuntu 18.04 ec2 instance. I need the apache server to listen on 8080 and install a new certificate on the server. I need step instructions for the apache configuation details below. [img param="ubuntu_aws_ec2_backend_middleware.png"]{$BASE_URL*}/uploads/attachments/5f618abc3fcee6.41182766.png[/img] The dynamic application is hosted in the var/www directory. The static build files are loaded to an S3 bucket. The satic files connect to the backend middleware over port 8080. There is a load balancer that requires a cert to connect to the ec2 targets The load balncer also requies a hreartbeat from the server to connect. So the server also needs an SSL cert and to listen on 8080 Below is the server virtual host file:<virtualhost wrong969="wrong969">ServerAdmin info@the_company.com ServerName n-lite.net ServerAlias www.n-lite.net SSLEngine on SSLCertificateFile /etc/certs/certificate.pem SSLCertificateKeyFile /etc/certs/privatekey.pem SSLCertificateChainFile /etc/certs/chain.pem ProxyRequests Off ProxyPreserveHost On ProxyVia Full<br /> <proxy wrong1371="wrong1371">Require all granted</proxy><location nodejs="nodejs">ProxyPass https://3.16.83.124:8080 ProxyPassReverse https://3.16.83.124:8080</location><directory wrong1607="wrong1607">AllowOverride All</directory></virtualhost>The apache Ports.conf file contains: Listen 80<ifmodule ssl_module="ssl_module">Listen 8080</ifmodule><ifmodule >Listen 8080</ifmodule>The ubuntu server firewall will be locked down to allow 8080 traffic. The application front door DNS is on Cloudflare URL is https://www.n-lite.net When you try to register a new user the server sends a 500 error message. Curl the front door returns 200 success. Curl the server instance directly returns an error. [/semihtml] [/quote] //// PUT YOUR REPORT BELOW \\\\ View all Use of this website implies that you agree to the website rules and privacy policy. Statistics Users online: Details jacobgkau, 21 guests Usergroups: Administrators Forum statistics: 148 topics, 639 posts, 633 members Our newest member is OfflineInfluencer83 Birthdays: shimatani (41)