ESYAE-imza Kütüphaneleri

User Tools

Site Tools


en:esya:sertifika:dogrulama-kutuphane

Farklar

Bu sayfanın seçili sürümü ile mevcut sürümü arasındaki farkları gösterir.

Karşılaştırma görünümüne bağlantı

en:esya:sertifika:dogrulama-kutuphane [2013/08/23 12:32]
Dindar Öz
en:esya:sertifika:dogrulama-kutuphane [2013/08/23 12:49] (mevcut)
Dindar Öz
Satır 270: Satır 270:
 </​sxh>​ </​sxh>​
  
-Test sertifikalarıyla çalışırken sertifikanın doğrulanması sırasında  ​PATH_VALIDATION_FAILURE ​hatası alabilirsinizBu durumun muhtemel sebebi, ​test sertifikaların köklerinin sertifika deposunda güvenilir sertifika olarak tanımlanmamasıdırBu kök sertifikaları dosya yoluyla belirtebilirsiniz. Yalnız bu kullanım sadece test amacıyla yapılmalıdır+You can have PATH_VALIDATION_FAILURE ​error during the validation of the test certificates.Most probably the reason is that the issuer of the test certificates is not defined as trusted root in your certificate store. 
 +You can make this issuer certificates trusted by te API by using TrustedCertificateFinderFromFile class, which is only recommended for testing purposes
 + 
 <sxh xml> <sxh xml>
 <class name="​("​tr.gov.tubitak.uekae.esya.api.certificate.validation.find.certificate.trusted.TrustedCertificateFinderFromFileSystem">​ <class name="​("​tr.gov.tubitak.uekae.esya.api.certificate.validation.find.certificate.trusted.TrustedCertificateFinderFromFileSystem">​
Satır 278: Satır 279:
 </​sxh>​ </​sxh>​
  
-===== XML Sertifika Deposu ​=====+===== XML Certificate Store =====
  
-Dosya sistemine herhangi bir şekilde erişimin olmadığı durumlarda kullanılması için XML tabanlı sertifika deposu dosyası geliştirilmiştirBu şekilde internet üzerindeki bir depo ile çalışabilmek mümkün olmaktadır.+In cases, where the usage of file-based certificate store is not available, an XML-based certificate store is createdThus, you can work with a certificate store that is located on Internet
  
-Sertifika doğrulama konfigürasyon dosyasında ​XML depodan güvenilir sertifika ​ bulucu aşağıdaki gibi tanımlanır:+In the certificate validation policy file, you can define the trusted certificate finder class finding trusted certificates from an XML certificate store as follows:
  
 <sxh xml> <sxh xml>
Satır 288: Satır 289:
 <param name="​storepath"​ value="​http://​www.kamusm.gov.tr/​depo/​xml/​XmlDepo.xml"/>​ <param name="​storepath"​ value="​http://​www.kamusm.gov.tr/​depo/​xml/​XmlDepo.xml"/>​
 </​class>​ </​class>​
-Yine xml depodan sertifika bulucu aşağıdaki şekilde tanımlanır:+ 
 +A certificate finder from an XML store is also defined as follows:
 <class name="​tr.gov.tubitak.uekae.esya.api.certificate.validation.find.certificate.CertificateFinderFromXml">​ <class name="​tr.gov.tubitak.uekae.esya.api.certificate.validation.find.certificate.CertificateFinderFromXml">​
 <param name="​storepath"​ value="​http://​www.kamusm.gov.tr/​depo/​xml/​XmlDepo.xml"/>​ <param name="​storepath"​ value="​http://​www.kamusm.gov.tr/​depo/​xml/​XmlDepo.xml"/>​
Satır 294: Satır 296:
 </​sxh>​ </​sxh>​
  
-XML depodan güvenilir sertifika bulucu parametre olarak bir URL almaktadırPerformans arttırmak için yerel ağlarda bu dosyanın bir kopyasını bulundurmak ve onunla çalışmak faydalı olur.+TrustedCertificateFinderFromXml takes a URL parameter for the location of the XML store.To increase the performance locating the XML store on the local network should be pereferred if possible.
  
-Bunun yanında xml sertifika deposu sadece ​ESYA sertifika doğrulama kütüphanesi ile kullanılmalıdırAksi taktirde ​man-in-the-midle saldırısına kapı açılmış olur. ESYA Kütüphanesi bu dosyadaki güvenilir sertifikalar için imza kontrolü yapmaktadır.+Besides, XML certificate store must only be used with ESYA Certificate Validation API, which performs signature verification on the trusted certificatesOtherwise, you can not be sure that the store is not altered by any man-in-the-middle attack
  
-Bir diğer göz önünde bulundurulması gereken konu performanstırYerel sertifika deposu kullanılırken imza doğrulamada kullanılan iptal listeleri depoya kaydedilip tekrar kullanılabilirkenxml sertifika deposu sadece okuma özellikli olduğu için bu avantajdan mahrumdur. Bu yüzden iptal listeleri her doğrulamada tekrar indirilmek zorunda kalınacaktır. Bu da ciddi performans kaybına yol açar.+One more thing to be mentioned is about the performance degradation caused by using XML store instead of local certificate storeThis happens because you can not save the CRL files found at remote location during certificate validation if you are using XML store as XML store is a read-only source. Thusyou must repeatedly retrieve the same crls from remote locations whenever they are needed.
  
en/esya/sertifika/dogrulama-kutuphane.1377261171.txt.gz · Son değiştirilme: 2013/08/23 12:32 Değiştiren: Dindar Öz