Pak Jiddat - Innovative Software Services

Read: In the name of thy Lord Who createth, Createth man from a clot. Read: And thy Lord is the Most Bounteous, Who teacheth by the pen, Teacheth man that which he knew not. Nay, but verily man is rebellious That he thinketh himself independent!. Lo! unto thy Lord is the return. (Sura Alalaq 96:8)

Generate Certificate Signing Request (CSR) for ssl certificates

Created On: 29 Mar, 2017: 17:33:24 - Tags : command line tools | web servers | security


In order to purchase a SSL certificate, we need to generate a Certificate Signing Request (CSR). The CSR contains information on the domain to be secured and the owner of the domain. To generate a CSR, we can use openssl command.

For example the command: openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr, will generate a csr file and a private key file for the domain The csr file needs to be sent to the certificate authority that will supply the ssl certificate. The private key file should be kept securely, as it will be used by the web server.

Related Articles

  1. Preventing browsers from caching content
  2. Making HTTP POST requests from Google Chrome
  3. Increasing web server timeout
  4. Redirect http to https with Apache
  5. Creating and Installing Apache Self Signed Certificate
  6. Using flags with rewrite rule
  7. Redirecting without mod_rewrite using regular expressions in htaccess
  8. Disabling output buffering with mod_fcgid
  9. Configuring Apache mod status
  10. Allowing Cross Origin Requests using htaccess
  11. Redirect http to https with Nginx
  12. Blocking visitors by http method using LimitExcept Apache directive
  13. Access control directives for Apache
  14. Passing query parameters to proxy server in Nginx
  15. Use of Preflight request in HTTP Cross Origin Resourse Sharing (CORS)
  16. Using RewriteCond directives
  17. Deleting empty folders recursively using Linux command line tools
  18. Deleting files older than 1 year using Linux command line tools
  19. Setting file permissions with rsync
  20. Using Rsync over custom SSH port
  21. Finding name server records for domains using Dig
  22. Backing up and restoring LXD containers
  23. Ignoring errors during MySQL import
  24. Resizing Linux root partitions without unmount on Google Cloud
  25. Running multiple versions of mailx command
  26. Using PSCP command for copying files and directories
  27. Configuring SFTP/SSH access for LXC Containers
  28. Debugging programs on Linux using strace
  29. Split large files using split command in Linux
  30. Error in pushing changes to remote git repository
  31. Monitoring user activity with acct package
  32. Permanently authenticating with remote git repositories
  33. Passing command line arguments to Python script
  34. List users currently logged in
  35. Using Redir command for redirecting ports
  36. Sending email through Gmail server using mailx command
  37. Fetching website resource over https using wget
  38. Delete downloaded file using Wget
  39. Using Oauth2l
  40. How to Backup and Restore LXC containers
  41. Fix ntfs disk is corrupt error
  42. Recover deleted files on ext3/ext4 file system using Photorec
  43. Convert pdf files to text files
  44. Viewing number of files in directory
  45. Using Rsync to copy all files recursively into one folder
  46. Using SED tool for replacing text in files
  47. Automate scp command using sshpass