LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why are user credentials not being passed to server at time of login? (https://www.linuxquestions.org/questions/linux-newbie-8/why-are-user-credentials-not-being-passed-to-server-at-time-of-login-757549/)

rajevar 09-24-2009 01:13 PM

Why are user credentials not being passed to server at time of login?
 
i have ssl configured on the server ( RHL ) and it will prompt me to enter my username and password when i access the server. its a python app and if i print logged in user on the page it displays "user = none". I am working on the development machine. if i do the same on production, it says "user = root" , i am logging into the system using my userid not as root ..

my issue is, i want the development server to identity the user. for some reason my user credentials are not being passed to the server. One more thing, the ssl cert i use on development server is not valid, its actually the certificate i copied from prod server. is this the issue ? when i log in it says

"You attempted to reach dev01.domain.com, but instead you actually reached a server identifying itself as prod.domain.com"

and a button for "proceed anyway"

thanks,
RR

lhorace 09-24-2009 01:30 PM

You say it prompts you for your user credentials, if you you are using Firefox, install Live-HTTP-headers extension. Visit the page again, open Live-HTTP-headers and see what's it sending to the server. Second, it doesn't matter what cert you are using, that's just a warning, explaining your security risk. It can't guarantee that the site you visiting is really a secure connection

rajevar 09-24-2009 03:57 PM

thanks for you quick reply !!

i installed live-http , it only tells about the http request, doesn't give any info about the user credentials. i may be wrong, i never used it before. I compared the prod http log with the dev and i see more http request being sent to the prod server compared to the dev. Is there anything else i need to consider ?

thanks


All times are GMT -5. The time now is 08:51 PM.