Highlight a phrase and click this icon to search it on Swyx-Forum    Highlight a phrase and click this icon to search it within the Swyx Knowledgebase    Highlight a phrase and click this icon to search it using Goolge    Highlight a phrase and click this icon to search it using Wikipedia

Highlight a phrase and click this icon to search it on Swyx-Forum    Highlight a phrase and click this icon to search it within the Swyx Knowledgebase    Highlight a phrase and click this icon to search it using Goolge    Highlight a phrase and click this icon to search it using Wikipedia

Forum

Bookmark and Share

Forum

Bookmark and Share

 
  Forums  SwyxWare Server  General  WebAccess 2011R2 - IPhone App
Previous Previous
 
Next Next
New Post 12/19/2011 10:46 AM
User is offline tz
48 posts
6th Level Poster


Re: WebAccess 201122 - IPhone App  (Germany)

Beispiel: Zum Zugriff auf Webaccess wird die URL webaccess.example.com verwendet. Auf dem selben Webserver läuft aber auch noch webapp1.example.com und webapp2.example.com, auf die ebenfalls per HTTPS zugegriffen wird. Das heißt es muss entweder SNI verwendet werden (mit oben erwähnten Nachteilen), oder es wird ein Zertifikat benötigt das *.example.com abdeckt. Und solch ein Wildcard-Zertifikat ist sehr teuer.

 
New Post 12/19/2011 3:02 PM
Online now... Sascha B.
160 posts
4th Level Poster


Re: WebAccess 201122 - IPhone App  (Germany)

Letztlich dürfte es aber doch eh egal sein, weil die gesamte SSL Verschlüsselung ja TLS 1.0 ist, welche ja sooo sicher nicht mehr ist. Zumindest wenn ich an offene WLAN Hotspots denke, in den ein MitM simpler ist, als Kekse backen..

*Provozier* ;)

 
New Post 12/19/2011 3:13 PM
User is offline doxR
22 posts
8th Level Poster


Re: WebAccess 201122 - IPhone App  (Germany)

 Sascha B. wrote

Das sind "per Domain" Zertifikate.. Im Regelfall wird jemand er eine eigene CA für "interne" Seiten betreibt aber nicht nur ein Zertifikat brauchen.

Hab grad mal grob durchgerechnet.. Wenn ich mit 15€/jahr pro SSL Zertifkat kalkuliere, bin ich locker im 5stelligen Bereich ;)

Sind diese Zertifikate auch mit Swyx verwendbar? Wenn ja welche davon? :D

 
New Post 12/19/2011 8:50 PM
Online now... Martin Hüser
532 posts
tinyurl.com/d4doz7p
1st Level Poster






Re: WebAccess 201122 - IPhone App  (Germany)

 tz wrote

Erm doch, das funktioniert, das praktizieren wir schon seit Jahren. Alle unsere Seiten sind durch eine eigene CA signiert (weil wir nicht jährlich hunderte Euro dafür zahlen dass eine öffentliche CA mal ein Skript startet), das Zertifikat wird per Profil auf dem iPhone importiert und Safari bringt danach keine Warnungen mehr beim Zugriff auf diese HTTPS-Seiten. Es würde mich wundern, wenn dies bei anderen Anwendungen nicht genauso klappt.

Du hast recht. Mit einem vom IIS selbstsignierten Zertifikat geht es nicht, allerdings mit einem eigenen Stammzertifikat. Ich habe das hier eben mal mit OpenSSL und einem IIS 7 ausprobiert.

1. Mit OpenSSL erzeugt man sich ein Stammzertifikat, z.B. so:

openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt

Damit hat man einen privaten (ca.key) und einen öffentlichen (ca.cert) Schlüssel. Letzteres ist das Stammzertifikat, was man auf dem iPhone als vertrauenswürdiges Root-Zertifikat installiert (s.u.). 

2. Der nächste Schritt ist, im IIS einen Certificate Request (Sorry, hab hier gerade nur ein englisches System) zu erstellen und den als Datei abzuspeichern, z.B. myServer.csr

3. Jetzt erzeugt man mit Hilfe des Stammzertifikats und OpenSSL das Zertifikat für den Server. Hier im Beispiel mit Laufzeit 365 Tagen

openssl x509 -req -days 365 -in myserver.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out myserver.crt

4. Im IIS spielt man das Zertifikat myserver.crt über "Complete Certificate Request" ein. Damit hat der Webserver nun sein SSL-Zertifikat.

5. Jetzt noch daran denken der Website, in der SwyxWebAccess installiert ist, ein https Binding zu geben. Danach den SwyxWebAccess ConfigWizard nochmal durchlaufen lassen und den Haken bei "Update IIS Configuration" unbedingt setzen. Damit wird SwyxWebAccess passend zu den Bindings der Webseite konfiguriert.

6. Damit das in Schritt 1 erzeugte eigene Stammzertifikat aufs iPhone kommt, kann man z.B. mit dem iPhone Konfigurationsprogramm ein Konfigurationsprofil erzeugen, dem man das Stammzertifikat (ca.crt) hinzufügt. Das Profil installiert man dann auf dem iPhone.

Danach akzeptieren sowohl der WebBrowser, als auch SwyxIt! Mobile das vom IIS präsentierte Zertifikat ohne weitere Nachfrage.

Es ist zu empfehlen, sich mit dem Thema eigene CA genauer auseinanderzusetzen, z.B. sich Gedanken zu machen, wo und wie man den privaten Schlüssel des Stammzertifikats sicher aufbewahrt, usw.


Martin Hüser
Product Manager, Scrum Product Owner, Swyx Solutions AG
 
New Post 12/20/2011 9:03 AM
Online now... Sascha B.
160 posts
4th Level Poster


Re: WebAccess 201122 - IPhone App  (Germany)

Danke Martin :)

Damit ist der initiale Kommentar welcher zu der Jailbreak/Root Geschichte geführt hat -->

 Martin Hüser wrote

Wir haben über die bekannten Mechanismen (Per EMail-Anhang erhaltenes Zertifikat oder per iPhone-Konfigurationsprogramm erzeugtes und aufs Telefon geladenes Konfigurationsprofil) versucht, ein selbstsigniertes Zertifikat zu installieren. Das geht prinzipiell, veranlasst das iPhone aber weder im Safari, noch in eigenen Apps ein solches Zertifikat als vertrauenswürdig einzustufen.

Ja auch hinfällig. Hätte mich auch ehrlich gesagt gewundert, wenn man dem Aplelophone kein eigenes CA Zertifikat hätte hinzufügen können :)

 
New Post 12/20/2011 11:36 PM
Online now... Chris
114 posts
4th Level Poster


Re: WebAccess 201122 - IPhone App  (Germany)
Modified By Chris  on 12/21/2011 12:38:31 AM)

Für alle die in der eigenen Windowsdomäne eine Zertifizierungsstelle betreiben, besteht auch die möglichkeit mit dem Stammzertifikat selbiger arbeiten.
dazu muss über die Zertifikatverwaltung (start->ausführen->mmc->datei-snapin hinzufügen->zertifikate) eine zertifikatanforderung erzeugt werden:

-> rechtsklick->alle aufgabe -> zertifikat anfordern

-> registrieren.

anschließend müsst ihr das so erstellte zertifikat nurnoch in der bindung der website hinterlegen und das stammzertifikat eurer zertifizierungsstelle auf dem iphone installieren.

EDIT:: das stammzertifikat kann man sich acuh einfach als emailanhang aufs iphone schicken und aus der mail-app heraus installieren...

 
Previous Previous
 
Next Next
  Forums  SwyxWare Server  General  WebAccess 2011R2 - IPhone App

 

 

 

Forum Policy

The discussion forums at Swyx Forum are dedicated to the discussion of Swyx, SwyxWare and related topics.

For the benefit of the community and to protect the integrity of swyx-form, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial products and non-commercial products which are not directly related to SwyxWare, it's OEM versions.
  2. No Flaming or Trolling.
  3. No Profanity, Racism, or Prejudice.
  4. Furthermore, make sure your posts comply to our Terms of Use.
  5. Newest development in German law defines online forums as journalistic content, making the forum owner and all posters to journalists. With this statement the forum owner declares that neither he nor his users are journalists with all legal consequences.
  6. The German Jugendmedienschutz-Staatsvertrag (JMStV) (Protection of Minors) defines a disclosure of online medias which are not suitable for minors below the age of 18. The Swyx Forum webseite does not provide any such content and underlies therefore not this disclosure. Please see further details including the responsible person for the protection of minors and direct contact data in the Imprint.
  7. The forums are currently unmoderated, meaning all postings will appear immediately after submission. If this turns out not working due to massive abuse all forums will switch to moderated mode, meaning a posting must be approved after submission my a moderator before appearing.
  8. You can use any language you like (except for the project forums) but keep in mind that by using english you will reach the largest audience.
  9. Within the project forums english language is mandatory.

 

Forum Policy

The discussion forums at Swyx Forum are dedicated to the discussion of Swyx, SwyxWare and related topics.

For the benefit of the community and to protect the integrity of swyx-form, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial products and non-commercial products which are not directly related to SwyxWare, it's OEM versions.
  2. No Flaming or Trolling.
  3. No Profanity, Racism, or Prejudice.
  4. Furthermore, make sure your posts comply to our Terms of Use.
  5. Newest development in German law defines online forums as journalistic content, making the forum owner and all posters to journalists. With this statement the forum owner declares that neither he nor his users are journalists with all legal consequences.
  6. The German Jugendmedienschutz-Staatsvertrag (JMStV) (Protection of Minors) defines a disclosure of online medias which are not suitable for minors below the age of 18. The Swyx Forum webseite does not provide any such content and underlies therefore not this disclosure. Please see further details including the responsible person for the protection of minors and direct contact data in the Imprint.
  7. The forums are currently unmoderated, meaning all postings will appear immediately after submission. If this turns out not working due to massive abuse all forums will switch to moderated mode, meaning a posting must be approved after submission my a moderator before appearing.
  8. You can use any language you like (except for the project forums) but keep in mind that by using english you will reach the largest audience.
  9. Within the project forums english language is mandatory.

 

Forum Help

Stay up-to-date
Forum Icons
Image Usage
Report Abuse

 

The default language in the forums is english, but feel free to use your mother tongue. Just keep in mind that by using english you will reach the largest audience.

Stay up-to-date
Forum Icons
Image Usage
Report Abuse

 

The default language in the forums is english, but feel free to use your mother tongue. Just keep in mind that by using english you will reach the largest audience.

Sponsors