Link to home
Start Free TrialLog in
Avatar of Giladn
GiladnFlag for Israel

asked on

outlook 2007 and exchange 2010 outlook keeps asking for password

Hello,

I have a new exchange 2010 setup installed on windows server 2008 r2 64bit.  I have installed a certificate from godaddy and owa seems to work fine, however when I open exchange it keeps asking for password for 2-3 times before connecting even though I check the box "remember my password" , also  before it's connecting and I get a certificate name warning (the name on the security certificate is invalid or does not match the name of the site) .
I am a little weak with ESM and need some guidance please !

Thank you!

Gilad
ASKER CERTIFIED SOLUTION
Avatar of Britt Thompson
Britt Thompson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Giladn

ASKER

when I try to issue the exchange 2010 command I get:

The term 'new-exchangecertificate' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Make sure you're using the actual Exchange Management console and not just the powershell...and you have to use the new Exchange 2010 commands:

$Data = New-ExchangeCertificate -GenerateRequest -DomainName mail.company.com, autodiscover.company.com, servername, servername.company.local -Friendlyname mail.company.com -PrivateKeyExportable:$true

Set-Content -path "C:\certificate_request.txt" -Value $Data

typing it in rather than copying and pasting can often resolve typos from hanging spaces and other invalid characters as well.
Avatar of Giladn

ASKER

it won't work
New-ExchangeCertificate from EMS will output the same message..
This is the only way it works...use this regularly with Exchange 2010.
Avatar of Giladn

ASKER

I remember I did use it in the past, I don't know what has changed, I've tried Get-ExchangeCertificate  in powershell and EMS it doesn't work.
I will solve this and post back to make progress.
Thank you.
The above certificate request absolutely works and I just verified on one of my 2010 servers. You must do the request line in the variable like this then use the "Set-Content -path "C:\certificate_request.txt" -Value $Data" to call it.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Giladn

ASKER

I have the certificate request, my problem was running EMS as admin..
after the commands related to exchange 2010 was issued :

  o Type $Data = New-ExchangeCertificate -GenerateRequest -DomainName mail.company.com, autodiscover.company.com, servername, servername.company.local -Friendlyname mail.company.com -PrivateKeyExportable:$true
          o Type Set-Content -path "C:\certificate_request.txt" -Value $Data
    * After you hit enter the thumbprint of the cert will be generated and displayed.
    * Use the generated certreq.txt when prompted at your chosen CA
    * Once you’ve acquired your certificate save it to c:\mail.company.com.cer

nothing is displayed though the certificate request file C:\certificate_request.txt is generated, what should I do next?
 
Avatar of atkjedi
atkjedi

copy the contents on the certificate_request.txt  and paste that into the cert request form on your CAs website...
some CAs will also let you upload the file.
then take the response they give you and import it either using import-exchangecertificate or using the EMC.
be sure you do not make a new request before this one is compleated by your CA or you will have to start the process over.