exam questions

Exam EX200 All Questions

View all questions & answers for the EX200 exam

Exam EX200 topic 1 question 68 discussion

Actual exam question from RedHat's EX200
Question #: 68
Topic #: 1
[All EX200 Questions]

SIMULATION -
You have a domain named www.rhce.com associated IP address is 192.100.0.2. Configure the Apache web server by implementing the SSL for encryption communication.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
vi /etc/httpd/conf.d/ssl.conf <VirtualHost 192.100.0.2> ServerName www.rhce.com DocumentRoot /var/www/rhce DirectoryIndex index.html index.htm
ServerAdmin [email protected] SSLEngine on SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key </
VirtualHost>
cd /etc/httpd/conf
3 make testcert
Create the directory and index page on specified path. (Index page can download from ftp://server1.example.com at exam time) service httpd start|restart chkconfig httpd on
Apache can provide encrypted communications using SSL (Secure Socket Layer). To make use of encrypted communication, a client must request to https protocol, which is uses port 443. For HTTPS protocol required the certificate file and key file.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
kenkct
4 months ago
$ sudo su # yum install mod_ssl (install ssl module) # system enable --now httpd (enable http daemon) # apachectl -M | grep ssl (verify ssl is running) # firewall-cmd zone=public --add-service=https --permanent (allow https access) # firewall-cmd --reload (firewall take effect) # openssl req -newkey rsa:2048 -nodes -keyout /etc/pki/tls/private/httpd.key -x509 -days 365 -out /etc/pki/tls/certs/httpd.crt # vim /etc/httpd/conf.d/ssl.conf SSLCertificateFile /etc/pki/tls/certs/httpd.crt SSLCertificateKeyFile /etc/pki/tls/private/httpd.key <VirtualHost 192.100.0.2:443> DocumentRoot "/var/www/html" Servername www.rhce.com:443 # systemctl reload httpd
upvoted 1 times
...
Oyform
9 months, 2 weeks ago
i thought httpd is not in rhcsa 2021
upvoted 4 times
...
STFN2019
9 months, 4 weeks ago
https://linuxconfig.org/how-to-install-mod-ssl-on-redhat-8
upvoted 1 times
STFN2019
9 months, 4 weeks ago
Simply use mod_ssl module and then generated self-signed SSL cert, job done.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago