DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Securing Your Software Supply Chain with JFrog and Azure
Register Today

Trending

  • Writing a Vector Database in a Week in Rust
  • How To Approach Java, Databases, and SQL [Video]
  • Microservices With Apache Camel and Quarkus (Part 2)
  • Health Check Response Format for HTTP APIs

Trending

  • Writing a Vector Database in a Week in Rust
  • How To Approach Java, Databases, and SQL [Video]
  • Microservices With Apache Camel and Quarkus (Part 2)
  • Health Check Response Format for HTTP APIs
  1. DZone
  2. Culture and Methodologies
  3. Career Development
  4. The evil tricks of “It Works On My Machine”, in reverse

The evil tricks of “It Works On My Machine”, in reverse

Oren Eini user avatar by
Oren Eini
·
Jun. 13, 11 · News
Like (0)
Save
Tweet
Share
3.07K Views

Join the DZone community and get the full member experience.

Join For Free

the following is quite annoying. i am trying to make an authenticated request to a web server. in this instance, we are talking about communication from one iis application to another iis application (the second application is ravendb hosted inside iis).

the part that drives me crazy is that i am getting this error when i am trying to make an authenticated request, but using the exact same code and credentials , from another machine, i can make this work just fine.

image

it took me a while to figure out that most important part, when running locally, i was running under my own account, when running remotely, the application run under iis account. the really annoying part was that even when running on iis locally, it still worked locally and failed remotely.

it took me even longer to figure out that the local iis was configure to run under my own account as well sad smile

once that discovery was made, i was able to figure out what is wrong and implement a work around (run the remote iis site under a custom user name). i know that the actual problem is something relating to permissions on certificate store, but i have no idea how , or, for that matter, which certificate ?

this is plain old http auth, no ssl, client certs, etc. i am assuming that this is raised because we are using windows auth, but i am not sure what is going on here with regards to which certificate should i grant to which user, or even how to do this.

any ideas?

workplace

Published at DZone with permission of Oren Eini, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Trending

  • Writing a Vector Database in a Week in Rust
  • How To Approach Java, Databases, and SQL [Video]
  • Microservices With Apache Camel and Quarkus (Part 2)
  • Health Check Response Format for HTTP APIs

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: