Yeni Alımlara Özel Türkiye Lokasyon (VDS/VPS) Ürünlerinde %50 İndirim Fırsatı! Kaçırmayın... (Stoklarla Sınırlıdır)

Arama Yap Mesaj Gönder

Biz Sizi Arayalım

+90
X
X
X
X

Knowledge Base

Homepage Knowledge Base General Installing SSL Certificate on VPS/V...

Bize Ulaşın

Konum Halkalı merkez mahallesi fatih cd ozgur apt no 46 , Küçükçekmece , İstanbul , 34303 , TR

Installing SSL Certificate on VPS/VDS Servers with Nginx

Using an SSL certificate has become a necessity to enhance your website's security and provide your users with a secure browsing experience. In this article, we will explain step by step how to install an SSL certificate on a VPS/VDS server running on the Nginx web server. You will also find useful tips to improve your SEO strategy while performing these operations.

1. Connecting to the Server via SSH

First, you need to connect to your VPS or VDS server via SSH. To do this, open your terminal application and enter the following command:

ssh root@sunucu_ip_adresi

Remember to replace sunucu_ip_adresi with your server IP address.

2. Setting the Hostname

Before installing the SSL certificate, it is important to set your server's hostname correctly. You can use the following command to determine the hostname:

hostnamectl set-hostname sunucu.eka.net.tr

Here, you should use your own domain name instead of sunucu.eka.net.tr.

3. Downloading and Installing the acme.sh Script

We will use the acme.sh script to create the SSL certificate. This script works with free certificate providers such as Let's Encrypt and ZeroSSL. First, download and install the script on your server:

cd /www/server/panel curl https://get.acme.sh | sh

After the installation is complete, you may need to restart your terminal for the script to work:

source ~/.bashrc

4. Installing socat Tools

The acme.sh script requires the socat tool when running in standalone mode. Therefore, you need to install the socat tool:

For Debian/Ubuntu:

apt-get update apt-get install socat -y

For CentOS/RHEL:

yum install socat -y

5. Stopping Nginx

Nginx must not be running while creating the SSL certificate, because acme.sh, running in standalone mode, uses port 80. Therefore, temporarily stop Nginx:

systemctl stop nginx

6. Creating the SSL Certificate

Create your SSL certificate using the acme.sh script:

~/.acme.sh/acme.sh --issue -d sunucu.eka.net.tr --standalone

When the script successfully creates the certificate, you must move this certificate to the relevant directories.

7. Moving Certificate Files to the Correct Directories

Move the certificate and private key file you created to the directories that Nginx will use:

cp /root/.acme.sh/sunucu.eka.net.tr_ecc/fullchain.cer /www/server/panel/ssl/certificate.pem cp /root/.acme.sh/sunucu.eka.net.tr_ecc/sunucu.eka.net.tr.key /www/server/panel/ssl/private.pem

8. Restarting Nginx

After moving the certificate files, restart Nginx to activate the SSL certificate:

systemctl start nginx

9. Testing the Accuracy of the SSL Certificate

Check whether the SSL certificate is working properly by going to https://sunucu.eka.net.tr:8888 in your browser.

10. SEO and Hosting Strategy

The use of SSL certificates is extremely important for SEO. Search engines prefer websites with SSL certificates and give these sites higher rankings. If you do not yet have a VPS or VDS server, or if you want to upgrade your existing server, you can check out the Turkey Location VDS/VPS options. With its strong infrastructure and affordable prices, EkaSunucu offers hosting solutions suitable for your needs.

In this article, we explained step by step how to install an SSL certificate on the Nginx web server. While increasing the security of your server, you also strengthened your SEO strategy. By following these steps, you can maximize the security of your site and improve your ranking in search engines.

Conclusion

By following this guide, which explains how important a correct SSL installation is for SEO and the role of hosting choices in this process, you can satisfy both your users and search engines. You can visit our blog or contact us for more information about SSL certificate installation and SEO.


By following the steps we have given in this guide, you can successfully install the SSL certificate on your server and increase security. If you do not yet have a VPS or VDS server, meet EkaSunucu, which offers Turkey Location VDS/VPS services, and increase your site's performance immediately.

 

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(1351 times viewed / 33 people found it helpful)

Call now to get more detailed information about our products and services.

Diğer Hizmetlerimiz

Web siteniz için uygun fiyatlı Ucuz Hosting Paketleri ile yüksek performanslı barındırma hizmeti sunuyoruz.

Dijital varlığınızı güçlendirmek için profesyonel Sosyal Medya Hesap Yönetimi hizmeti sağlıyoruz.

Görsellerinizi sıkıştırmak için kullanışlı PNG to WebP dönüştürücümüzü deneyin.

Resim boyutlarını küçültmek isteyenler için JPG to WebP aracı idealdir.

SEO uyumu için Robots.txt Oluşturucu aracımızı kullanabilirsiniz.

Htaccess Oluşturucu ile yönlendirme ve erişim ayarlarınızı kolayca yapın.

Kullanıcı deneyimini artırmak için özgün UI/UX Tasarım çözümleri sunuyoruz.

Hızlı ve güvenli kurulum için WordPress hizmetimizden faydalanın.

Sitenizi arama motorlarında yükseltmek için Google Optimizasyon hizmeti sunuyoruz.

Markanızı tanıtmak için Tanıtım Yazısı içerikleri üretiyoruz.

UGC ile içerik gücünüzü artırın: UGC İçerik.

Profesyonel Yazılım Kurulum hizmetleri sunuyoruz.

Kaliteli içerik arayanlara özel Hazır Makale & İçerik Satışları.

Sıra Bulucu ile arama motoru sıralamanızı takip edin.

Google Haritalara Kayıt ile konumunuzu haritada gösterin.

Alan adı otoritenizi öğrenin: DA PA Sorgula.

Dış bağlantılarınızı analiz edin: Dış Link Aracı.

Dahili link yapınızı inceleyin: İç Link Aracı.

Arama motoru başarınızı artırmak için SEO Danışmanlığı alın.

Organik trafiğinizi artırmak için SEO çözümleri geliştirin.

Özel çözümler için Mobil Uygulama geliştirme hizmeti sunuyoruz.

Markanız için Logo tasarlıyoruz.

İşinize özel Web Yazılım çözümleri sunuyoruz.

Kurumsal imajınızı yansıtan Kurumsal Web Tasarım hizmeti.

Süreçlerinizi hızlandırmak için Bot Program geliştiriyoruz.

Online satışlarınız için Sanal POS sistemleri sunuyoruz.

Entegrasyonlar için Pazaryeri ve Kargo Entegrasyonu.

Kullanıcı deneyimi testleri için Son Kullanıcı Testleri.

İçerik indirimi için TikTok Video İndir aracı.

Görsellerinizi kolayca küçültün: Resim Boyutlandırma.

Yararlı kod örnekleri için Site Kodları rehberine göz atın.

Kodları online inceleyin: HTML Viewer.

IP adresinizi öğrenmek için IP Adresim Nedir aracını kullanın.

Bağlantı hızınızı test etmek için Hız Testi.

DNS önbellek sorunları için DNS Cache Problemi sayfasını inceleyin.

DNS değişikliklerini görmek için DNS Önizleme aracı.

IDN dönüştürme için IDN Çevirme kullanın.

Sunuculara ping atmak için Ping Gönder özelliğini deneyin.

Web sitenizin yanıt süresini test etmek için Web Site Ping aracımızı kullanın.

Top