locked
WCF MessageSecurity Certificate RRS feed

  • שאלה

  • הי,

    עד כה השתמשתי ב- test certificate כדי להשיג Message Security והכל עבד יפה.
    הגעתי לנקודה שבה רציתי להחליף את ה- certificate באחת אמיתית. השגתי תעודת SSL סטנדרטית (מ- GoDaddy), וניסיתי להשתמש בה. עשיתי את כל ההתאמות, אך זה לא עובד!!
    התעודה בסדר, הצלחתי להשתמש בה על מנת לשים https על אתר.

    האם יש משהו שאני מפספס? האם התעודה צריכה תכונה מיוחדת על מנת לשמש ל- WCF (כלומר SSL רגיל לא מספיק?)

    תודה!

    יום רביעי 01 אוגוסט 2012 14:51

כל התגובות

  • יכול להיות שמדובר בעניין של קונפיגורציה, אך מבלי שתסביר את הסיטואציה שלך זה יהיה בעייתי לעזור.

    אשמח אם תוכל לפרט מה זה אומר "לא עובד" - אילו הודעות שגיאה אתה מקבל, איך נראת קונפיגורצית השרת שלך והקליינט? איך אתה מריץ את השירות שלך (IIS, self host) ...


    Please mark posts as answers/helpful if it answers your question.
    Senior Consultant on WCF, ASP.NET, Siverlight, and Entity Framework. Author of Microsoft's Official WCF 4 Course. Co-author of the Microsoft HPC/Azure burst whitepaper.
    Visit my blog: http://blogs.microsoft.co.il/blogs/idof

    יום שישי 03 אוגוסט 2012 17:15
    מנחה דיון
  • Hi,

    Thanks for your answer! I actually did do everything right, except for this weird phenomenon:
    The SSL certificate actually supports 3 dns's: hrms.me; www.hrms.me; app.hunterhrms.com (you can view this certificate in your browser via any of these domains). However, the WCF service could only work with app.hunterhrms.com. For some reason, the service's "DNS claim" was always app.hunterhrms.com, regardless of which "Host Name" I gave it in the site's "Edit Binding". In other words, even though the service's address included www.hrms.me (which is actually the name of the certificate), its "DNS claim" was still app.hunterhrms.com.

    Seems like a bug (or feature...) in the SSL certifcate, doesn't it?

    יום שישי 24 אוגוסט 2012 09:54