<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.apoyar.eu/index.php?action=history&amp;feed=atom&amp;title=SSL_certificate_CSR_generation</id>
	<title>SSL certificate CSR generation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.apoyar.eu/index.php?action=history&amp;feed=atom&amp;title=SSL_certificate_CSR_generation"/>
	<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=SSL_certificate_CSR_generation&amp;action=history"/>
	<updated>2026-07-20T13:57:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.apoyar.eu/index.php?title=SSL_certificate_CSR_generation&amp;diff=248&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;Generating CSR and applying generated certificate on server  CSR – Certificate Signing Request  Brose website URL   click on padlock  click on certificate  Click on Details tab, under this click on subject  Copy all information under subject to notepad   Login to phobos.apoyar  Go to below path  • cd /home/neal/certs  Generate key using below command with proper key name  • openssl genrsa -out key_name.key 2048  Generate CSR with below command with appropriate info...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.apoyar.eu/index.php?title=SSL_certificate_CSR_generation&amp;diff=248&amp;oldid=prev"/>
		<updated>2022-09-19T14:41:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Generating CSR and applying generated certificate on server  CSR – Certificate Signing Request  Brose website URL   click on padlock  click on certificate  Click on Details tab, under this click on subject  Copy all information under subject to notepad   Login to phobos.apoyar  Go to below path  • cd /home/neal/certs  Generate key using below command with proper key name  • openssl genrsa -out key_name.key 2048  Generate CSR with below command with appropriate info...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Generating CSR and applying generated certificate on server&lt;br /&gt;
&lt;br /&gt;
CSR – Certificate Signing Request&lt;br /&gt;
&lt;br /&gt;
Brose website URL &lt;br /&gt;
&lt;br /&gt;
click on padlock&lt;br /&gt;
&lt;br /&gt;
click on certificate&lt;br /&gt;
&lt;br /&gt;
Click on Details tab, under this click on subject&lt;br /&gt;
&lt;br /&gt;
Copy all information under subject to notepad&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Login to phobos.apoyar&lt;br /&gt;
&lt;br /&gt;
Go to below path&lt;br /&gt;
&lt;br /&gt;
• cd /home/neal/certs&lt;br /&gt;
&lt;br /&gt;
Generate key using below command with proper key name&lt;br /&gt;
&lt;br /&gt;
• openssl genrsa -out key_name.key 2048&lt;br /&gt;
&lt;br /&gt;
Generate CSR with below command with appropriate information, which we have copied in notepad&lt;br /&gt;
&lt;br /&gt;
• openssl req -new -key key_name.key -sha256 -nodes -subj &amp;#039;/C=BE/ST= Overijssel /L= Oldenzaal/O= Bleckmann Nederland B.V. STREET = Eekboerstraat 25 /OU=IT/CN= b2b.bleckmann.com /emailAddress=support2@apoyar.eu/subjectAltName=DNS.1= abc.com, DNS.2= xyz.com, DNS.3= xuv.com &amp;#039; &amp;gt; name.csr&lt;br /&gt;
&lt;br /&gt;
Note :- above command is for example, we have to enter appropriate info as per the client&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After generating check CSR information using below command&lt;br /&gt;
&lt;br /&gt;
• openssl req -in name.csr -noout –text&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once CSR is generated, we have to send it to the client, then they will send us certificate files in zipped format through mail&lt;br /&gt;
&lt;br /&gt;
Once we receive that zip file, get that zipped file to phobos.apoyar and unzip, it includes 3-4 files&lt;br /&gt;
&lt;br /&gt;
To create a single certificate using all that 4 files, run below command with same files sequence&lt;br /&gt;
&lt;br /&gt;
•	cat STAR_pointcarre_be.crt  USERTrustRSAAAACA.crt SectigoRSADomainValidationSecureServerCA.crt AAACertificateServices.crt &amp;gt; pointcarre_2023.crt&lt;br /&gt;
&lt;br /&gt;
Note :- above command is for example, we have to edit filenames as per the client&lt;br /&gt;
&lt;br /&gt;
Once we generated a single certificate (.crt), then we have to verify and check that with key file using below command&lt;br /&gt;
&lt;br /&gt;
•	openssl x509 -noout -modulus -in cert_name.crt  | openssl md5 &amp;amp;&amp;amp; openssl rsa -noout -modulus -in key_name.key | openssl md5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once this verification done, get that certificate on the respected servers at below path.&lt;br /&gt;
&lt;br /&gt;
•	cd /etc/ssl/certs/&lt;br /&gt;
&lt;br /&gt;
And then go to below path &amp;amp; edit required nginx configuration files and provide there new certificate path with name.&lt;br /&gt;
&lt;br /&gt;
•	cd /etc/nginx/sites-available &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once all done, run below command, check all syntax errors and if we get successful message then reload nginx&lt;br /&gt;
&lt;br /&gt;
•	nginx -t&lt;br /&gt;
&lt;br /&gt;
•	service nginx reload&lt;br /&gt;
&lt;br /&gt;
Once we done for all servers, go to jupiter.apoyar Open Notepad as admin. Open the hosts file (C:\Windows\System32\drivers\etc) and find the according&lt;br /&gt;
&lt;br /&gt;
 domain entries. Remove the hash and save. Once again reload nginx and wait for some time. Test, bring up the cert.&lt;br /&gt;
&lt;br /&gt;
Once certificate is reflected on sites, go to jupiter.apoyar Open Notepad as admin. Open the hosts file (C:\Windows\System32\drivers\etc) and find the &lt;br /&gt;
&lt;br /&gt;
according domain entries. Add the hash and save.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>