[yast-commit] r65087 - in /trunk/autoinstallation: package/autoyast2.changes src/include/io.ycp
Author: ug Date: Fri Jul 29 15:56:27 2011 New Revision: 65087 URL: http://svn.opensuse.org/viewcvs/yast?rev=65087&view=rev Log: added support for client certificated with HTTPS Modified: trunk/autoinstallation/package/autoyast2.changes trunk/autoinstallation/src/include/io.ycp Modified: trunk/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/package/autoyast2.changes?rev=65087&r1=65086&r2=65087&view=diff ============================================================================== --- trunk/autoinstallation/package/autoyast2.changes (original) +++ trunk/autoinstallation/package/autoyast2.changes Fri Jul 29 15:56:27 2011 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri Jul 29 15:56:00 CEST 2011 - ug@suse.de + +- added support for client certificated with HTTPS + +------------------------------------------------------------------- Wed Jul 27 14:14:59 CEST 2011 - ug@suse.de - added fibre channel autoyast client to 1st stage Modified: trunk/autoinstallation/src/include/io.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/include/io.ycp?rev=65087&r1=65086&r2=65087&view=diff ============================================================================== --- trunk/autoinstallation/src/include/io.ycp (original) +++ trunk/autoinstallation/src/include/io.ycp Fri Jul 29 15:56:27 2011 @@ -74,6 +74,12 @@ if ( Scheme == "http" || Scheme == "https" ) { HTTP::easySSL( true ); + if (SCR::Read(.target.size, "/etc/ssl/clientcerts/client-cert.pem" ) > 0 ) { + HTTP::clientCertSSL( "/etc/ssl/clientcerts/client-cert.pem" ); + } + if (SCR::Read(.target.size, "/etc/ssl/clientcerts/client-key.pem" ) > 0 ) { + HTTP::clientKeySSL( "/etc/ssl/clientcerts/client-key.pem" ); + } res = HTTP::Get(full_url, Localfile); if (res["code"]:0 == 200) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ug@svn2.opensuse.org