<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Markus Bäker &#187; ssl</title>
	<atom:link href="http://www.mbaeker.de/tag/ssl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mbaeker.de</link>
	<description>Use %~dp0 !!!</description>
	<lastBuildDate>Tue, 31 Jan 2012 10:49:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Monitoring Fedora Core 4 with SCOM 2007 R2 &#8211; Part 1</title>
		<link>http://www.mbaeker.de/2011/06/monitoring-fedora-core-4-with-scom-2007-r2-part-1/</link>
		<comments>http://www.mbaeker.de/2011/06/monitoring-fedora-core-4-with-scom-2007-r2-part-1/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 16:58:28 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Operations Manager]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Core]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Fedora Core]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[scom]]></category>
		<category><![CDATA[SCX]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=473</guid>
		<description><![CDATA[Fedora bases upon Red Hat Enterprise linux which is supported by SCOM. Fedora Core 3 was the base of  RHEL 4 and Fedora Core 6 RHEL 5. In this blog posts I will try to convince SCOM that the Fedora 4 based Asterisk telecom system is a RHEL 4. First we have to install the [...]]]></description>
			<content:encoded><![CDATA[<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;" title="earth" src="http://www.mbaeker.de/wp-content/uploads/2011/06/earth.png" border="0" alt="earth" width="59" height="59" align="left" /><a href="http://en.wikipedia.org/wiki/Fedora_%28operating_system%29" target="_blank">Fedora</a> bases upon Red Hat Enterprise linux which is supported by SCOM. Fedora Core 3 was the base of  <a href="http://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux#Relationship_to_free_and_community_distributions" target="_blank">RHEL</a> 4 and Fedora Core 6 RHEL 5. In this blog posts I will try to convince SCOM that the Fedora 4 based Asterisk telecom system is a RHEL 4.</p>
<p>First we have to install the RHEL4 scom agent manual onto the systems. In this case we had to install the OpenSSL library, too. Additional we add the scom user account to the system.</p>
<p>After that we sign the local created certificate by the scom server and replace it on the Fedora system.</p>
<p>Now we can test the connection from the SCOM server with this winrm command:</p>
<blockquote><p>winrm enumerate <a href="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx">http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</a> -username:scomuser -password:yourpassword -r:<a href="https://your.fedora.system:1270/wsman">https://your.fedora.system:1270/wsman</a> -auth:basic -encoding:UTF-8</p></blockquote>
<p>The output shows detail information about the OS:</p>
<p><span id="more-473"></span></p>
<blockquote><p>SCX_OperatingSystem</p>
<p>CSCreationClassName = SCX_ComputerSystem</p>
<p>CSName = your.fedora.system</p>
<p>Caption = Fedora Core release 4 (Stentz)</p>
<p>CreationClassName = SCX_OperatingSystem</p>
<p>CurrentTimeZone = 120</p>
<p>Description = Fedora Core release 4 (Stentz)</p>
<p>Distributed = null</p>
<p>ElementName = null</p>
<p>EnabledDefault = 2</p>
<p>EnabledState = 5</p>
<p>FreePhysicalMemory = 1399808</p>
<p>FreeSpaceInPagingFiles = 2039808</p>
<p>FreeVirtualMemory = 3439616</p>
<p>HealthState = null</p>
<p>InstallDate = null</p>
<p>MaxNumberOfProcesses = 32216</p>
<p>MaxProcessMemorySize = 0</p>
<p>MaxProcessesPerUser = 999</p>
<p>Name = Red Hat Distribution</p>
<p>[…]</p></blockquote>
<p>Interesting for the monitoring are three settings: the caption, the description and the name.</p>
<p>If you want to know how the Red Hat Management pack discovers his systems you have to look into the signed management pack (MP). The authoring console only shows some information of a signed MP. If you want so see all information or want to copy some discovery routines you have to unsign it.</p>
<p>This is a very simple task with the SCOM powershell:</p>
<blockquote><p>get-managementpack -Name &#8220;Microsoft.Linux.RedHat.Library&#8221; | export-managementpack -path &#8220;c:\export&#8221;</p></blockquote>
<p>This one-liner retrieves the Microsoft.Linux.RedHat.Library MP and saves it unsigned to c:\export. You have to do it with the Microsoft.Linux.RedHat.Library and the Microsoft.Linux.RHEL.4 management pack.</p>
<p>If you look into the discovery routines with the authoring console you see that the discovery takes place in three steps. The Red Hat Library discovers all Red Hat systems by the operating system name. In this case the name of the Fedora OS is equal to the search name of the Red hat library: “Red Hat Distribution”. For the discovered systems an object of the type “Microsoft.Linux.RedHat.Computer” is created.</p>
<p>The  Microsoft.Linux.RHEL.4 MP checks all this objects for a  RHEL 4 distinguished caption value to create a “Microsoft.Linux.RHEL.4.Computer” object. So if you want to convince SCOM that a Fedora 4 is a RHEL 4 you have to create a MP that  creates a RHEL4 object based on the Fedora Stentz caption.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2011/06/monitoring-fedora-core-4-with-scom-2007-r2-part-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SCOM: &#220;berpr&#252;fen des Cross-Platform Zertifikates</title>
		<link>http://www.mbaeker.de/2011/03/scom-berprfen-des-cross-platform-zertifikates/</link>
		<comments>http://www.mbaeker.de/2011/03/scom-berprfen-des-cross-platform-zertifikates/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 16:30:16 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Deutsch]]></category>
		<category><![CDATA[Operations Manager]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[scom]]></category>
		<category><![CDATA[SCX]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Zertifikates]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=415</guid>
		<description><![CDATA[Das von Agentsetup automatisch erstellte Zertifikat auf einem Linux Client kann u.U. auf den falschen Hostnamen ausgestellt sein. Um das SCOM Zertifikat zu überprüfen kann folgende Kommandozeile auf dem Linux/Unix System ausgeführt werden: openssl x509 -in /etc/opt/microsoft/scx/ssl/scx-host-&#60;hostname&#62;.pem -noout –text So sieht dann die Ausgabe aus: &#160; Certificate: &#160;&#160;&#160; Data: &#160;&#160;&#160;&#160;&#160;&#160;&#160; Version: 1 (0&#215;0) &#160;&#160;&#160;&#160;&#160;&#160;&#160; Serial [...]]]></description>
			<content:encoded><![CDATA[<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top: 0px; border-right: 0px; padding-top: 0px" title="icon-20" border="0" alt="icon-20" align="left" src="http://www.mbaeker.de/wp-content/uploads/2011/03/icon-20.png" width="64" height="64" />Das von Agentsetup automatisch erstellte Zertifikat auf einem Linux Client kann u.U. auf den falschen Hostnamen ausgestellt sein. Um das SCOM Zertifikat zu überprüfen kann folgende Kommandozeile auf dem Linux/Unix System ausgeführt werden:</p>
<blockquote><p> openssl x509 -in /etc/opt/microsoft/scx/ssl/scx-host-&lt;hostname&gt;.pem -noout –text</p>
</blockquote>
<p>So sieht dann die Ausgabe aus:</p>
<p>&#160;</p>
<p>Certificate:</p>
<p>&#160;&#160;&#160; Data:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Version: 1 (0&#215;0)</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Serial Number: 1 (0&#215;1)</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Signature Algorithm: sha1WithRSAEncryption</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Issuer: CN=SCX-Certificate/title=SCX633376D2-E3E2-4f31-8461-D09259ACEF3D, DC=SCOMSERVER</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Validity</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Not Before: Sep&#160; 8 12:40:34 2009 GMT</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Not After : Sep 17 13:44:04 2020 GMT</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; Subject: DC=xy, DC=domainname, CN=servername, CN=servername.domainname.xy</p>
<p>Subject Public Key Info:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Public Key Algorithm: rsaEncryption</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; RSA Public Key: (2048 bit)</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Modulus (2048 bit):</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 00:ce:15:0b […]</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Exponent: 65537 (0&#215;10001)</p>
<p>&#160;&#160;&#160; Signature Algorithm: sha1WithRSAEncryption</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; 7a:70:c4 […]</p>
<p>&#160;</p>
<p>Den Namen des Linuxsystems erhält man über den Befehl “hostname”. Er sollte identisch mit dem CN im Subject aus. Ebenso sollte der Full Qualified Domain Name (FQDN, Befehl: hostname -f) identisch mit dem letzten CN im Subject sein.</p>
<p>Anhand des Issuer erkennt man, ob das Zertifikat bereits vom SCOM signiert wurde (im DC sollte der Name des RMS stehen).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2011/03/scom-berprfen-des-cross-platform-zertifikates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Online Passwort Manager</title>
		<link>http://www.mbaeker.de/2009/06/online-passwort-manager/</link>
		<comments>http://www.mbaeker.de/2009/06/online-passwort-manager/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 18:58:02 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=145</guid>
		<description><![CDATA[Online Passwort Speicher gibt es wie Sand am Meer (vielleicht etwas weniger). Ich persönlich finde momentan https://www.clipperz.com sehr gut. Übertragung ist wie bei den meisten per SSL gesichert. Aber die kompletten Benutzernamen und Passwörter werden mittels des Loginkennwortes lokal mit Javascript verschlüsselt. Dadurch kennt der Server nie die eigentlichen Daten. Auch für die Anmeldung ist [...]]]></description>
			<content:encoded><![CDATA[<p>Online Passwort Speicher gibt es wie Sand am Meer (vielleicht etwas weniger). Ich persönlich finde momentan <a href="https://www.clipperz.com" target="_blank">https://www.clipperz.com</a> sehr gut. Übertragung ist wie bei den meisten per SSL gesichert. Aber die kompletten Benutzernamen und Passwörter werden mittels des Loginkennwortes lokal mit Javascript verschlüsselt. Dadurch kennt der Server nie die eigentlichen Daten. Auch für die Anmeldung ist die Angabe der Email Adresse nicht erforderlich (oder möglich).<br />
Und da alles per JavaScript Clientseitig abläuft (ausser die Speicherung der Verschlüsselten Daten auf dem Server) kann man sich auch eine Offline Version erstellen lassen (bei der die Daten nicht auf dem Server sondern direkt und verschlüsselt in die Offline HTML Datei eingebetet werden), so dass man an seine Passwörter auch ohne Internetzugang aber trotzdem gesichert drankommt.<br />
Das automatische Login ist bei Clipperz ebenfalls möglich. Dafür muss man im Gegensatz zu anderen Diensten nicht ein Bookmarklet für die Anmeldung verwenden, sondern verwendet das Bookmarklet im Vorfeld um das Logonform auszulesen und als kleine Beschreibungsdatei in Clipperz einzufügen. Daraus erstellt das System direkt die benötigten Felder und kann dann clientseitig das Login simulieren.</p>
<p>Insgesamt läuft somit alles lokal im Browser ab. Der Server ist eigentlich nur ein dummer Speicher, der noch nicht einmal die Daten versteht, die auf ihm abgelegt werden.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2009/06/online-passwort-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zertifikate von ADDS LDAP/SSL Verbindungen testen</title>
		<link>http://www.mbaeker.de/2009/01/zertifikate-von-adds-ldapssl-verbindungen-testen/</link>
		<comments>http://www.mbaeker.de/2009/01/zertifikate-von-adds-ldapssl-verbindungen-testen/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 07:28:56 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[adds]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=46</guid>
		<description><![CDATA[Um schnell ein Zertifikat eines ADDS Servers zu überprüfen, bietet sich überraschender Weise ein Webbrowser wie der Firefox auf. Trägt man dort in der Adressleiste https://dns-name-des-domänencontrollers:636 ein. Beim Aufruf erscheint unten links das bekannte SSL-Schloss, dass man zur genaueren Inspektion nutzen kann. Aber: Neuere Firefoxversionen verhindern https Verbindungen auf ungewöhnlichen Ports. Daher muss hier eine [...]]]></description>
			<content:encoded><![CDATA[<p>Um schnell ein Zertifikat eines ADDS Servers zu überprüfen, bietet sich überraschender Weise ein Webbrowser wie der Firefox auf. Trägt man dort in der Adressleiste https://dns-name-des-domänencontrollers:636 ein. Beim Aufruf erscheint unten links das bekannte SSL-Schloss, dass man zur genaueren Inspektion nutzen kann.</p>
<p><strong>Aber:</strong> Neuere Firefoxversionen verhindern https Verbindungen auf ungewöhnlichen Ports. Daher muss hier eine Ausnahme für ldaps eingetragen werden:<br />
Um in die erweiterten Einstellungen des Firefoxes zu gelangen muss man in die Adressleiste <code>about:config</code> eingeben. Dort als zusätzlichen Eintrag network.security.ports.banned.override hinzufügen und als Wert den Port 636 hinterlegen (weitere Ports kann man durch Komma getrennt eingeben):</p>
<p><img class="size-full wp-image-45" title="firefox-ansicht-about-config" src="http://www.mbaeker.de/wp-content/uploads/2009/01/firefox-ansicht-about-config.png" alt="firefox-ansicht-about-config" width="491" height="166" /></p>
<p>Details s.a. <a href="http://kb.mozillazine.org/Network.security.ports.banned.override">http://kb.mozillazine.org/Network.security.ports.banned.override</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2009/01/zertifikate-von-adds-ldapssl-verbindungen-testen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

