WCF authentication using ASP.NET Membership Provider

user2075853

It's been a week already and I'm still not fully comfortable with implementing ASP.NET Membership Provider with WCF. I'm wondering:

  1. We already have a website which is running under HTTPS protocol. We are working on a new application which will have a WCF service and is going to replace our old application (with HTTPS). Now my question is, since we already have a secured website, do I have to get another certificate just for the WCF service?

  2. If yes, then do I have to get certificates for clients as well? (As I was looking on the web, most of the answers I found were "yes".)

  3. If no, can I use the existing certificate to authenticate my service?

Lee O.

You have to have 1 SSL Certificate per domain unless you purchase a wildcard certificate. So, if your current SSL Certificate is for subdomain.mydomain.com and you want to host the WCF service at anothersubdomain.mydomain.com (or even www.anotherdomain.com), then you'll need another certificate. If this is something that would happen fairly frequently, then I'd suggest you purchase a *.mydomain.com SSL certificate.

Another option would be to host the WCF service under the current subdomain with a URL like subdomain.mydomain.com\myservice\service.svc.

I can't answer your second question but I doubt you are using client side certificates.

Here's a link to a Beginner's guide on SSL Certificates.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Custom Authentication using legacy user table in Asp.Net Core

分類Dev

Use ADFS-based authentication inside ASP.NET Core to access a SQL Server using Windows authentication?

分類Dev

Ionic/Angular Auth from ASP.net Membership DB

分類Dev

ASP.NET MVC 4 - Custom Membership & Role Entities Not Updating

分類Dev

Where are the new membership providers classes in ASP.NET Identity?

分類Dev

Custom Membership provider class with constructor

分類Dev

Using Azure Active Directory authentication in ASP.NET Core 2.0 from Web App to Web API

分類Dev

ASP.Net Core SAML authentication

分類Dev

ASP.Net Core SAML authentication

分類Dev

ASP.Net Core SAML authentication

分類Dev

ASP.NET Core 2.0 authentication middleware

分類Dev

Windows Authentication with asp.net core

分類Dev

ASP.NET MVCでのMembership.GetUser()の奇妙な動作

分類Dev

Authentication with ServiceStack and more provider

分類Dev

Is it possible to use a custom ModelState validation provider in ASP.NET Core?

分類Dev

Authorization in ASP.NET Core 2.0 via openid provider

分類Dev

WCF with windows authentication problems

分類Dev

ASP.NET MVC 5-WCFのIdentityUser?

分類Dev

Change authentication from no authentication to individual authentication in existing project of Asp.Net Core (MVC)

分類Dev

WCF over net.tcp with token authentication, loses Claims between TokenHandler and AuthorisationManager

分類Dev

Simple Membership ASP NET MVC4でユーザーに役割を追加する

分類Dev

ASP.NET MembershipProvider membership info (usernames, passwords) not being stored? How would I implement this system in a networked environment?

分類Dev

Turn off / Disable windows authentication for asp.net-mvc

分類Dev

Issues with ASP.NET Forms Authentication on Phonegap (Android)

分類Dev

Path based authentication in ASP.NET Core MVC 2.0

分類Dev

ASP.Net Core SignalR authentication always responding with 403 - Forbidden

分類Dev

Asp.net share forms authentication by two applications in the same domain

分類Dev

ASP.NET Active Directory Authentication on one form

分類Dev

Show views based on authentication status in asp.net mvc

Related 関連記事

  1. 1

    Custom Authentication using legacy user table in Asp.Net Core

  2. 2

    Use ADFS-based authentication inside ASP.NET Core to access a SQL Server using Windows authentication?

  3. 3

    Ionic/Angular Auth from ASP.net Membership DB

  4. 4

    ASP.NET MVC 4 - Custom Membership & Role Entities Not Updating

  5. 5

    Where are the new membership providers classes in ASP.NET Identity?

  6. 6

    Custom Membership provider class with constructor

  7. 7

    Using Azure Active Directory authentication in ASP.NET Core 2.0 from Web App to Web API

  8. 8

    ASP.Net Core SAML authentication

  9. 9

    ASP.Net Core SAML authentication

  10. 10

    ASP.Net Core SAML authentication

  11. 11

    ASP.NET Core 2.0 authentication middleware

  12. 12

    Windows Authentication with asp.net core

  13. 13

    ASP.NET MVCでのMembership.GetUser()の奇妙な動作

  14. 14

    Authentication with ServiceStack and more provider

  15. 15

    Is it possible to use a custom ModelState validation provider in ASP.NET Core?

  16. 16

    Authorization in ASP.NET Core 2.0 via openid provider

  17. 17

    WCF with windows authentication problems

  18. 18

    ASP.NET MVC 5-WCFのIdentityUser?

  19. 19

    Change authentication from no authentication to individual authentication in existing project of Asp.Net Core (MVC)

  20. 20

    WCF over net.tcp with token authentication, loses Claims between TokenHandler and AuthorisationManager

  21. 21

    Simple Membership ASP NET MVC4でユーザーに役割を追加する

  22. 22

    ASP.NET MembershipProvider membership info (usernames, passwords) not being stored? How would I implement this system in a networked environment?

  23. 23

    Turn off / Disable windows authentication for asp.net-mvc

  24. 24

    Issues with ASP.NET Forms Authentication on Phonegap (Android)

  25. 25

    Path based authentication in ASP.NET Core MVC 2.0

  26. 26

    ASP.Net Core SignalR authentication always responding with 403 - Forbidden

  27. 27

    Asp.net share forms authentication by two applications in the same domain

  28. 28

    ASP.NET Active Directory Authentication on one form

  29. 29

    Show views based on authentication status in asp.net mvc

ホットタグ

アーカイブ