![]() ![]() I usually just hit enter.īe sure to always make a backup copy of your private key! If you lose it, you’ll have to purchase a new cert! You may be asked for an email address and a challenge password. ![]() State or Province: the state / province where your organzation is located (e.g New Jersey)Ĭountry: the country where your organzation is located (e.g US) Sales)Ĭity or Locality: the city where your organzation is located (e.g. Organization Unit: the section of the organization (e.g. Organization: the name of your organization (e.g. You will be asked to enter your Common Name, Organization, Organization Unit, City or Locality, State or Province and Country.ĭo not enter these characters ‘ ~ ! # $ % ^ * / ( ) ?.,&’ because they will not be accepted.Ĭommon Name: the domain for the web server (e.g. ![]() Next generate the CSR using the RSA Private openssl req -new -key yourdomain.key -out mv yourdomain.csr. If there is a passphrase, Apache will just sit there and wait for the script to input the passphrase which means downtime, and downtime usually equals bad. You should generally NOT generate the RSA private key with a passphrase if you have scripts that restart apache automatically in case of a crash or otherwise. You will be prompted to enter a passphrase right after you hit openssl genrsa -des3 -out yourdomain.key 1024 Or, with a passphrase: Generating a RSA private key with a passphrase. #Apache server tutorial 2016 Offline#Generate the RSA without a passphrase: Generating a RSA private key without a passphrase (I recommended this, otherwise when apache restarts, you have to enter a passphrase which can leave the server offline until someone inputs the /etc/httpd/conf/ssl.key]# openssl genrsa -out yourdomain.key 1024 Assuming you have apache and open ssl installed, you would like to generate and setup an SSL certificate for a domain and generate a CSR.įirst, Generate the RSA & CSR (Signing root]# cd /etc/httpd/conf/ssl.key ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |