AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / server / Perguntas / 1081280
Accepted
Martin
Martin
Asked: 2021-10-22 06:25:56 +0800 CST2021-10-22 06:25:56 +0800 CST 2021-10-22 06:25:56 +0800 CST

Migração do Exchange Server 2010 para 2016

  • 772

Uma pequena empresa para a qual estou trabalhando tem um Exchange Server 2010 auto-hospedado em execução, e meu trabalho é migrar esse servidor para um servidor Exchange 2016, já que o antigo está sem suporte há algum tempo.

Eu sei que o Exchange 2016 e 2010 podem coexistir e, como não podemos perder nossos e-mails, fiz alguns testes primeiro. Criei um usuário fictício no antigo servidor de troca, criei um trabalho de migração e tentei acessá-lo (mas o objetivo é desligar o servidor antigo após a conclusão da migração).

Mailflow (enviar/receber de/para e-mails externos/internos - tudo funciona!) não é o problema.

Mas não consigo fazer com que os clientes do Outlook (2010) funcionem. Observe que estamos usando o Outlook apenas interno - em uma máquina ingressada no domínio, o acesso externo (atualmente) não é necessário. Sempre que adiciono a conta fictícia ao meu Outlook, tudo funciona como deveria - mas assim que fecho o Outlook e o abro novamente, o Outlook não pode mais acessar o armazenamento de informações. Acessar o e-mail fictício através da URL interna https://ex2016.domain.local/owa/funciona perfeitamente.

Quando eu verifico o status da conexão logo após adicionar a conta de e-mail fictícia, ele mostra essas conexões mapi sobre http (até onde eu sei, esse é o método de acesso padrão desde o exchange 2013). Eu executei o teste de descoberta automática, foi bem sucedido.

Há um aviso de certificado, pois atualmente este é o certificado autoassinado da instalação. Mas também tentei substituir isso por um certificado emitido para um nome de domínio real, mas isso não fez diferença. (Mesmo que eu tenha alterado o certificado e o URL, o Outlook ainda mostrou um aviso de certificado e não tenho ideia do porquê!)

Mas duvido que os problemas do certificado estejam relacionados aos problemas do meu cliente. Durante minha pesquisa na web, encontrei um bug existente nos servidores Exchange 2016, onde a autenticação no diretório virtual mapi não foi habilitada, o que causou a falha dessas conexões de clientes. Verifiquei que (instalei o Exchange 2016 CU21), a microsoft obviamente corrigiu esse bug - na minha instalação, a autenticação já foi habilitada.

Estou realmente perdido agora. Qualquer dica sobre o que pode estar errado é apreciada!

Informações atualizadas

Obrigado pela sua resposta: Em relação à versão do Outlook, verifiquei duas vezes, ela deve ser suportada.

Microsoft Outlook 2010 (14.0.7268.5000) SP2 MSO (14.0.7268.5000)

Com relação ao aviso de certificado: É o primeiro aviso (O certificado de segurança foi emitido por uma empresa na qual você não escolheu confiar). Obrigado pela dica sobre o certificado de instalação, não sabia dessa possibilidade.

O que é realmente estranho, cliquei em instalar, optei por instalá-lo para todo o computador e fechei o Outlook. Depois que reabri o Outlook, o problema acima foi mostrado e, após um minuto, o mesmo aviso de certificado foi exibido novamente, mesmo que eu instalei e cliquei em confiança anteriormente. Repeti o passo, desta vez para o usuário local, e após uma segunda reinicialização, tudo começou a funcionar!

Por que tive que instalar o certificado duas vezes? O Outlook se conecta apenas ao site padrão ( ex2016.domain.local:443) e não ao backend do Exchange ( ex2016.domain.local:444) correto ?

Aqui está o resultado do script powershell (removi todas as referências ao antigo servidor de troca)


Transcript started, output file is C:\log.txt
 C:\Windows\system32>
 
 
PS>Get-OabVirtualDirectory | fl Identity, server, *Auth*, InternalURL, ExternalURL

Identity                      : EX2016\OAB (Default Web Site)
Server                        : EX2016
BasicAuthentication           : False
WindowsAuthentication         : True
OAuthAuthentication           : True
InternalAuthenticationMethods : {WindowsIntegrated, OAuth}
ExternalAuthenticationMethods : {WindowsIntegrated, OAuth}
InternalUrl                   : https://ex2016.domain.local/OAB
ExternalUrl                   :



 C:\Windows\system32>
PS>Get-WebServicesVirtualDirectory | fl Identity, server, *Auth*, InternalURL, ExternalURL 

Identity                      : EX2016\EWS (Default Web Site)
Server                        : EX2016
CertificateAuthentication     :
InternalAuthenticationMethods : {Ntlm, WindowsIntegrated, WSSecurity, OAuth}
ExternalAuthenticationMethods : {Ntlm, WindowsIntegrated, WSSecurity, OAuth}
LiveIdNegotiateAuthentication :
WSSecurityAuthentication      : True
LiveIdBasicAuthentication     : False
BasicAuthentication           : False
DigestAuthentication          : False
WindowsAuthentication         : True
OAuthAuthentication           : True
AdfsAuthentication            : False
InternalUrl                   : https://ex2016.domain.local/EWS/Exchange.asmx
ExternalUrl                   :



 C:\Windows\system32>
PS>Get-OutlookAnywhere | fl Identity, server, *Auth*, InternalHostName, ExternalHostName


Identity                           : EX2016\Rpc (Default Web Site)
Server                             : EX2016
ExternalClientAuthenticationMethod : Negotiate
InternalClientAuthenticationMethod : Ntlm
IISAuthenticationMethods           : {Basic, Ntlm, Negotiate}
InternalHostname                   : ex2016.domain.local
ExternalHostname                   :



 C:\Windows\system32>
PS>Get-OwaVirtualDirectory | fl Identity, server, *Auth*, InternalURL, ExternalURL 

Identity                      : EX2016\owa (Default Web Site)
Server                        : EX2016
ClientAuthCleanupLevel        : High
InternalAuthenticationMethods : {Basic, Fba}
BasicAuthentication           : True
WindowsAuthentication         : True
DigestAuthentication          : False
FormsAuthentication           : True
LiveIdAuthentication          : False
AdfsAuthentication            : False
OAuthAuthentication           : False
ExternalAuthenticationMethods : {Fba}
InternalUrl                   : https://ex2016.domain.local/owa
ExternalUrl                   :



 C:\Windows\system32>
PS>Get-ClientAccessServer | fl Identity, Name, AutodiscoverServiceInternalUri

Identity                       : EX2016
Name                           : EX2016
AutoDiscoverServiceInternalUri : https://ex2016.domain.local/Autodiscover/Autodiscover.xml


 C:\Windows\system32>
PS>Get-EcpVirtualDirectory| fl Identity, server, *Auth*, InternalURL, ExternalURL

Identity                      : EX2016\ecp (Default Web Site)
Server                        : EX2016
InternalAuthenticationMethods : {Basic, Fba}
BasicAuthentication           : True
WindowsAuthentication         : True
DigestAuthentication          : False
FormsAuthentication           : True
LiveIdAuthentication          : False
AdfsAuthentication            : False
OAuthAuthentication           : False
ExternalAuthenticationMethods : {Fba}
InternalUrl                   : https://ex2016.domain.local/ecp
ExternalUrl                   :



 C:\Windows\system32>
PS>Get-ActiveSyncVirtualDirectory | fl Identity, server, *Auth*, InternalURL, ExternalURL


Identity                            : EX2016\Microsoft-Server-ActiveSync (Default Web Site)
Server                              : EX2016
MobileClientCertificateAuthorityURL :
BasicAuthEnabled                    : True
WindowsAuthEnabled                  : False
ClientCertAuth                      : Ignore
InternalAuthenticationMethods       : {}
ExternalAuthenticationMethods       : {}
InternalUrl                         : https://ex2016.domain.local/Microsoft-Server-ActiveSync
ExternalUrl                         :



 C:\Windows\system32>
PS>Get-MapiVirtualDirectory | fl Identity, server, *Auth*, InternalURL, ExternalURL


Identity                      : EX2016\mapi (Default Web Site)
Server                        : EX2016
IISAuthenticationMethods      : {Ntlm, OAuth, Kerberos, Negotiate}
InternalAuthenticationMethods : {Ntlm, OAuth, Kerberos, Negotiate}
ExternalAuthenticationMethods : {Ntlm, OAuth, Kerberos, Negotiate}
InternalUrl                   : https://ex2016.domain.local/mapi
ExternalUrl                   : https://ex2016.domain.local/mapi



 C:\Windows\system32>
PS>Get-PowerShellVirtualDirectory | fl Identity, server, *Auth*, InternalURL, ExternalURL


Identity                      : EX2016\PowerShell (Default Web Site)
Server                        : EX2016
CertificateAuthentication     : True
InternalAuthenticationMethods : {}
ExternalAuthenticationMethods : {}
LiveIdNegotiateAuthentication : False
WSSecurityAuthentication      : False
LiveIdBasicAuthentication     : False
BasicAuthentication           : False
DigestAuthentication          : False
WindowsAuthentication         : False
OAuthAuthentication           : False
AdfsAuthentication            : False
InternalUrl                   : http://ex2016.domain.local/powershell
ExternalUrl                   :



 C:\Windows\system32>
PS>Get-ExchangeCertificate | fl Identity, FriendlyName, Subject, CertificateDomains, Services, Issuer, *not*, Status


Identity           : EX2016.domain.local\xxxx_Cert_1_xxxx
FriendlyName       : Microsoft Exchange Server Auth Certificate
Subject            : CN=Microsoft Exchange Server Auth Certificate
CertificateDomains : {}
Services           : SMTP
Issuer             : CN=Microsoft Exchange Server Auth Certificate
NotAfter           : 10.09.2026 15:12:39
NotBefore          : 06.10.2021 15:12:39
Status             : Valid

Identity           : EX2016.domain.local\xxxx_Cert_2_xxxx
FriendlyName       : Microsoft Exchange
Subject            : CN=EX2016
CertificateDomains : {EX2016, EX2016.domain.local}
Services           : IIS, SMTP
Issuer             : CN=EX2016
NotAfter           : 06.10.2026 15:11:29
NotBefore          : 06.10.2021 15:11:29
Status             : Valid

Identity           : EX2016.domain.local\xxxx_Cert_3_xxxx
FriendlyName       : WMSVC-SHA2
Subject            : CN=WMSvc-SHA2-EX2016
CertificateDomains : {WMSvc-SHA2-EX2016}
Services           : None
Issuer             : CN=WMSvc-SHA2-EX2016
NotAfter           : 04.10.2031 12:32:50
NotBefore          : 06.10.2021 12:32:50
Status             : Valid

Identity           : EX2016.domain.local\xxxx_Cert_4_xxxx
FriendlyName       : real.domain.org (rapidssl rsa ca 2018)
Subject            : CN=real.domain.org
CertificateDomains : {real.domain.org}
Services           : IMAP, POP, SMTP
Issuer             : CN=RapidSSL RSA CA 2018, OU=www.digicert.com, O=DigiCert Inc, C=US
NotAfter           : 05.11.2021 13:00:00
NotBefore          : 07.10.2019 02:00:00
Status             : RevocationCheckFailure



 C:\Windows\system32>
PS>Get-OrganizationConfig | fl MapiHttpEnabled


MapiHttpEnabled : True


 C:\Windows\system32>
PS>Get-CasMailbox -Identity Dummy.User | fl MapiHttpEnabled


MapiHttpEnabled :


 C:\Windows\system32>
PS>Stop-Transcript
exchange-migration exchange-2016
  • 1 1 respostas
  • 235 Views

1 respostas

  • Voted
  1. Best Answer
    Ivan_Wang
    2021-10-22T18:19:54+08:002021-10-22T18:19:54+08:00

    Sempre que adiciono a conta fictícia ao meu Outlook, tudo funciona como deveria - mas assim que fecho o Outlook e o abro novamente, o Outlook não pode mais acessar o armazenamento de informações. Quando eu verifico o status da conexão logo após adicionar a conta de e-mail fictícia, ela mostra essas conexões mapi sobre http

    Certifique-se de que sua versão do Outlook seja a mais recente e tenha suporte: Suporte para Mapi sobre HTTP .

    Ao mesmo tempo, tente criar um novo perfil para sua caixa de correio e veja se há alguma diferença.

    Há um aviso de certificado, pois atualmente este é o certificado autoassinado da instalação.

    Qual é a descrição do aviso do certificado?

    Os avisos de certificados comuns ocorridos no Outlook são os seguintes:

    1 -The security certificate was issued by a company you have not chosen to trust.

    Se você estiver usando o certificado autoassinado para IIS, esse certificado não será adicionado automaticamente ao repositório de certificados raiz confiável, você deve confiar nele manualmente clicando no botão " Exibir certificado " e " Instalar certificado " em seus clientes.

    Mais detalhes sobre o certificado autoassinado: Certificado autoassinado

    2 -The security certificate has expired or is not yet valid.

    Clique em " Ver Certificado " e veja seu tempo de validade, se estiver expirado, renove-o e reinicie o IIS.

    3 -The name on the security certificate is invalid or does not match the name of the site.

    Este aviso normalmente está relacionado com os nomes de host internos/externos dos diretórios/serviços virtuais (por exemplo, MAPI, Outlook Anywhere, SCP) e os nomes de domínio incluídos no certificado.

    Execute os comandos a seguir para ver se as configurações deles estão corretas ( altere o valor do parâmetro -Identitypara o cmdlet Get-CasMailboxcom as identidades de sua caixa de correio e não se esqueça de alterar qualquer informação sensível. ):

    Start-Transcript -Path C:\log.txt
    Get-OabVirtualDirectory | fl Identity, server, *Auth*, InternalURL, ExternalURL
    Get-WebServicesVirtualDirectory | fl Identity, server, *Auth*, InternalURL, ExternalURL 
    Get-OutlookAnywhere | fl Identity, server, *Auth*, InternalHostName, ExternalHostName 
    Get-OwaVirtualDirectory | fl Identity, server, *Auth*, InternalURL, ExternalURL 
    Get-ClientAccessServer | fl Identity, Name, AutodiscoverServiceInternalUri 
    Get-EcpVirtualDirectory| fl Identity, server, *Auth*, InternalURL, ExternalURL 
    Get-ActiveSyncVirtualDirectory | fl Identity, server, *Auth*, InternalURL, ExternalURL
    Get-MapiVirtualDirectory | fl Identity, server, *Auth*, InternalURL, ExternalURL 
    Get-PowerShellVirtualDirectory | fl Identity, server, *Auth*, InternalURL, ExternalURL 
    Get-ExchangeCertificate | fl Identity, FriendlyName, Subject, CertificateDomains, Services, Issuer, *not*, Status
    Get-OrganizationConfig | fl MapiHttpEnabled
    Get-CasMailbox -Identity <User> | fl MapiHttpEnabled
    Stop-Transcript
    
    • 1

relate perguntas

  • Como reconciliar o usuário com caixas de correio locais e na nuvem?

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Você pode passar usuário/passar para autenticação básica HTTP em parâmetros de URL?

    • 5 respostas
  • Marko Smith

    Ping uma porta específica

    • 18 respostas
  • Marko Smith

    Verifique se a porta está aberta ou fechada em um servidor Linux?

    • 7 respostas
  • Marko Smith

    Como automatizar o login SSH com senha?

    • 10 respostas
  • Marko Smith

    Como posso dizer ao Git para Windows onde encontrar minha chave RSA privada?

    • 30 respostas
  • Marko Smith

    Qual é o nome de usuário/senha de superusuário padrão para postgres após uma nova instalação?

    • 5 respostas
  • Marko Smith

    Qual porta o SFTP usa?

    • 6 respostas
  • Marko Smith

    Linha de comando para listar usuários em um grupo do Windows Active Directory?

    • 9 respostas
  • Marko Smith

    O que é um arquivo Pem e como ele difere de outros formatos de arquivo de chave gerada pelo OpenSSL?

    • 3 respostas
  • Marko Smith

    Como determinar se uma variável bash está vazia?

    • 15 respostas
  • Martin Hope
    Davie Ping uma porta específica 2009-10-09 01:57:50 +0800 CST
  • Martin Hope
    kernel O scp pode copiar diretórios recursivamente? 2011-04-29 20:24:45 +0800 CST
  • Martin Hope
    Robert ssh retorna "Proprietário incorreto ou permissões em ~/.ssh/config" 2011-03-30 10:15:48 +0800 CST
  • Martin Hope
    Eonil Como automatizar o login SSH com senha? 2011-03-02 03:07:12 +0800 CST
  • Martin Hope
    gunwin Como lidar com um servidor comprometido? 2011-01-03 13:31:27 +0800 CST
  • Martin Hope
    Tom Feiner Como posso classificar a saída du -h por tamanho 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich O que é um arquivo Pem e como ele difere de outros formatos de arquivo de chave gerada pelo OpenSSL? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent Como determinar se uma variável bash está vazia? 2009-05-13 09:54:48 +0800 CST

Hot tag

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve