kb:web:remoteapps_self_signed_sertifikat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kb:web:remoteapps_self_signed_sertifikat [2020/03/11 16:11] – [Openssl] milanokb:web:remoteapps_self_signed_sertifikat [2020/03/12 05:35] (current) – [Openssl] milano
Line 12: Line 12:
 Alat koji može da napravi potpun sertifikat proizvoljne dužine trajanja (više desetina godina) je Linuxov **Openssl**. Alat koji može da napravi potpun sertifikat proizvoljne dužine trajanja (više desetina godina) je Linuxov **Openssl**.
  
-Komanda za izradu sertifikata koji odgovara RemoteApps serverima je:+Komanda za izradu sertifikata koji (bi trebalo da) odgovara RemoteApps serverima je:
  
 +[12.03.2020 Milano]  Bolje je koristiti **Windows 10 način**, sertifikat dobijen iz Linuxa umeda pravi problem sa nekim od potrebnih servisa za RemoteApp.
 <code> <code>
 openssl req -x509 -config extended.conf -extensions v3_ca -nodes -sha512 -days 3650 -newkey rsa:4096 -keyout sertifikat.key -out sertifikat.crt openssl req -x509 -config extended.conf -extensions v3_ca -nodes -sha512 -days 3650 -newkey rsa:4096 -keyout sertifikat.key -out sertifikat.crt
Line 33: Line 34:
 **sertifikat.pfx** - naziv pfx fajla u koji će sertifikat biti konvertovan. **sertifikat.pfx** - naziv pfx fajla u koji će sertifikat biti konvertovan.
  
-==== Predlog sa GitHub ==== 
  
-  - Install openssl package for your operating system from here +==== Windows 10 ====
-  - Generating a private key: ''openssl genrsa 2048 > private.pem'' +
-  - Generating the self signed certificate: ''openssl req -x509 -new -key private.pem -out public.pem'' +
-  - If required, creating **PFX**: ''openssl pkcs12 -export -in public.pem -inkey private.pem -out mycert.pfx''+
  
 +Najbolji način da se napravi **Windows RemoteApp kompatibilan sertifikat** jeste upotreba PowerShell-a u Windows 10. Verzija je važna pošto veći deo opcija u prethodnim verzijama PS-a nije podržana.
 +
 +Ako imamo W10 dovoljno je pokrenuti PS komandu
 +
 +<code>
 +New-SelfSignedCertificate -Type Custom -Subject "CN=rap.leburickomerc.com" -KeyUsage DataEncipherment, KeyEncipherment, DigitalSignature -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.2,1.3.6.1.5.5.7.3.1") -CertStoreLocation "Cert:\CurrentUser\My" -NotBefore '2020-03-11' -NotAfter '2023-03-11'
 +</code>
  
 ====== Upotreba self-signed sertifikata za Https pristup ====== ====== Upotreba self-signed sertifikata za Https pristup ======
  • kb/web/remoteapps_self_signed_sertifikat.1583943096.txt.gz
  • Last modified: 2020/03/11 16:11
  • by milano