< Hasscript />
popular Tags
Java #297 Genel Kavramlar #295 Veri Tabanı #220 oracle #84 Sunucular #81
→ View All Tags
top Authors
kenan 485 tolgacelik.art 341 kupanintorunu 49 canonka 36 buzel 32
→ View All Authors
→ Tags
popular Tags
#Java #Genel Kavramlar #Veri Tabanı #oracle #Sunucular
→ Authors
top Authors
@kenan @tolgacelik.art @kupanintorunu @canonka @buzel
/**
* @author Barış ENGİN
* @date 2022-09-26
* @tags Sunucular
*/

question Openssl kullanılarak Aws’de yeni bir ssl sertifikası(.pfx uzantılı dosya ile) yükleme işlemi nasıl yapılır ?

comments 1 references
  1. // @author Barış ENGİN | 27 Eylül 2022
    pkcs12 -info -in star_bizimtarifler_com.pfx -clcerts -nokeys -out drlive.crt

    openssl tool için  https://www.openssl.org/source/ adresinden uygun sürüm indirilebilir.

    Detaylı açıklamaya https://www.ibm.com/docs/en/arl/9.7?topic=certification-extracting-certificate-keys-from-pfx-file  erişilebilir.

    Windows işletim sistemi için devam edeceğim

    openssl klasörü içerisinde /bin klasöründe openssl.exe çalıştırılaraak yeni bir komut penceresi açılır. AWS ssl yükleme için private key, certificate body ve certificate chain değerlerini .pfx dosyasından elde ediyoruz. İlgili kodlar çalıştırıldığı zaman  şifre istenilecektir. Şifrenin, .pfx uzantılı dosya ile birlikte bize gönderilmesi gereklidir.

    openssl pkcs12 -in website.xyz.com.pfx -nocerts -out privatekey.pem
    openssl rsa -in privatekey.pem -out withoutpw-privatekey.pem
    openssl pkcs12 -in website.xyz.com.pfx -clcerts -nokeys -out cert-file.pem
    openssl pkcs12 -in website.xyz.com.pfx -cacerts -nokeys -chain -out ca-chain.pem

    Certificate body parametresi için gereken değeri  cert-file.pem dosyasından alıyoruz: Ör: 

    —–BEGIN CERTIFICATE—–

    MIIGDzCCBPegAwIBAgITFQAO4J/+dN…

    OUL4XJt39jw3xaWBKrWkcpzhoA==
    —–END CERTIFICATE—–

    Private Key parametresi için gereken değeri  withoutpw-privatekey.pem dosyasından alıyoruz:

    —–BEGIN RSA PRIVATE KEY—–

    fhgfhghgfhgfhg…

    5646BDG/565==
    —–END RSA PRIVATE KEY—–

    .

     Certificate chain parametresi için gereken değeri  ca-chain.pem dosyasından alıyoruz:

    —–BEGIN CERTIFICATE—–

    FGHFHJKHJKHJO4J/+dN…

    OFHGHFaxh456kcpdsGDA==
    —–END CERTIFICATE—–

     

// Comments are closed.

// Hasscript © 2026
// Powered by Coffee & Code