Advertisement
Guest User

Untitled

a guest
Sep 16th, 2016
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.03 KB | None | 0 0
  1. [Repository remoteOutlook]
  2. type = IMAP
  3. remotehost = imap-mail.outlook.com
  4. ssl = yes
  5. cert_fingerprint = c914dd966dbd0912c36ec294f83d8d3b5a434729
  6. remoteport = 993
  7. remoteuser = <hidden>
  8. remotepass = <hidden>
  9.  
  10. $ gnutls-cli -p 993 imap-mail.outlook.com
  11. Processed 168 CA certificate(s).
  12. Resolving 'imap-mail.outlook.com'...
  13. Connecting to '157.56.195.250:993'...
  14. - Certificate type: X.509
  15. - Got a certificate list of 2 certificates.
  16. - Certificate[0] info:
  17. - subject `C=US,ST=Washington,L=Redmond,O=Microsoft Corporation,CN=*.hotmail.com', issuer `C=BE,O=GlobalSign nv-sa,CN=GlobalSign Organization Validation CA - SHA256 - G2', RSA key 2048 bits, signed using RSA-SHA256, activated `2015-12-15 22:26:11 UTC', expires `2016-12-15 22:26:11 UTC', SHA-1 fingerprint `c914dd966dbd0912c36ec294f83d8d3b5a434729'
  18. Public Key ID:
  19. e74e1f5a4a2656b5bbf73ae68e293e43a0846941
  20. Public key's random art:
  21. +--[ RSA 2048]----+
  22. | .E |
  23. | . |
  24. | + . |
  25. | + . . . . |
  26. | . . .S.o . |
  27. | . +. . |
  28. | o.= + |
  29. | . *+= =+ |
  30. | .=+==++.|
  31. +-----------------+
  32.  
  33. - Certificate[1] info:
  34. - subject `C=BE,O=GlobalSign nv-sa,CN=GlobalSign Organization Validation CA - SHA256 - G2', issuer `C=BE,O=GlobalSign nv-sa,OU=Root CA,CN=GlobalSign Root CA', RSA key 2048 bits, signed using RSA-SHA256, activated `2014-02-20 10:00:00 UTC', expires `2024-02-20 10:00:00 UTC', SHA-1 fingerprint `902ef2deeb3c5b13ea4c3d5193629309e231ae55'
  35. - Status: The certificate is trusted.
  36. - Description: (TLS1.0)-(ECDHE-RSA-SECP384R1)-(AES-256-CBC)-(SHA1)
  37. - Session ID: 82:4B:00:00:4D:3C:F0:07:B9:B1:49:21:9F:95:99:A9:8B:E4:A7:44:21:6F:06:F6:15:6D:76:F5:F6:3F:4C:97
  38. - Ephemeral EC Diffie-Hellman parameters
  39. - Using curve: SECP384R1
  40. - Curve size: 384 bits
  41. - Version: TLS1.0
  42. - Key Exchange: ECDHE-RSA
  43. - Cipher: AES-256-CBC
  44. - MAC: SHA1
  45. - Compression: NULL
  46. - Options: extended master secret, safe renegotiation,
  47. - Handshake was completed
  48.  
  49. - Simple Client Mode:
  50.  
  51. * OK Outlook.com IMAP4rev1 server version 17.4.0.0 ready (DUB451-IMAP396)
  52. *** Fatal error: The TLS connection was non-properly terminated.
  53. *** Server has terminated the connection abnormally.
  54.  
  55. c914dd966dbd0912c36ec294f83d8d3b5a434729
  56. 902ef2deeb3c5b13ea4c3d5193629309e231ae55
  57.  
  58. $ offlineimap -o
  59. XOAUTH2 authentication failed: AUTHENTICATE command error: BAD ['SASL Token argument is missing or invalid.']. Data: FBPH2 AUTHENTICATE XOAUTH2
  60.  
  61. PLAIN authentication failed: [AUTHENTICATIONFAILED] Invalid username or password.
  62. LOGIN authentication failed: [AUTHENTICATIONFAILED] Invalid username or password.
  63. ERROR: All authentication types failed:
  64. XOAUTH2: AUTHENTICATE command error: BAD ['SASL Token argument is missing or invalid.']. Data: FBPH2 AUTHENTICATE XOAUTH2
  65.  
  66. PLAIN: [AUTHENTICATIONFAILED] Invalid username or password.
  67. LOGIN: [AUTHENTICATIONFAILED] Invalid username or password.
  68. ERROR: Exceptions occurred during the run!
  69. ERROR: All authentication types failed:
  70. XOAUTH2: AUTHENTICATE command error: BAD ['SASL Token argument is missing or invalid.']. Data: FBPH2 AUTHENTICATE XOAUTH2
  71.  
  72. PLAIN: [AUTHENTICATIONFAILED] Invalid username or password.
  73. LOGIN: [AUTHENTICATIONFAILED] Invalid username or password.
  74.  
  75. Traceback:
  76. File "/usr/lib64/python2.7/site-packages/offlineimap/accounts.py", line 271, in syncrunner
  77. self.__sync()
  78. File "/usr/lib64/python2.7/site-packages/offlineimap/accounts.py", line 334, in __sync
  79. remoterepos.getfolders()
  80. File "/usr/lib64/python2.7/site-packages/offlineimap/repository/IMAP.py", line 448, in getfolders
  81. imapobj = self.imapserver.acquireconnection()
  82. File "/usr/lib64/python2.7/site-packages/offlineimap/imapserver.py", line 525, in acquireconnection
  83. self.__authn_helper(imapobj)
  84. File "/usr/lib64/python2.7/site-packages/offlineimap/imapserver.py", line 437, in __authn_helper
  85. "failed:nt%s"% msg, OfflineImapError.ERROR.REPO)
  86.  
  87. $ offlineimap -o
  88. ERROR: Server SSL fingerprint 'c914dd966dbd0912c36ec294f83d8d3b5a434729' for hostname 'imap-mail.outlook.com' does not match configured fingerprint(s) ['902ef2deeb3c5b13ea4c3d5193629309e231ae55']. Please verify and set 'cert_fingerprint' accordingly if not set yet.
  89. ERROR: Exceptions occurred during the run!
  90. ERROR: Server SSL fingerprint 'c914dd966dbd0912c36ec294f83d8d3b5a434729' for hostname 'imap-mail.outlook.com' does not match configured fingerprint(s) ['902ef2deeb3c5b13ea4c3d5193629309e231ae55']. Please verify and set 'cert_fingerprint' accordingly if not set yet.
  91.  
  92. Traceback:
  93. File "/usr/lib64/python2.7/site-packages/offlineimap/accounts.py", line 271, in syncrunner
  94. self.__sync()
  95. File "/usr/lib64/python2.7/site-packages/offlineimap/accounts.py", line 334, in __sync
  96. remoterepos.getfolders()
  97. File "/usr/lib64/python2.7/site-packages/offlineimap/repository/IMAP.py", line 448, in getfolders
  98. imapobj = self.imapserver.acquireconnection()
  99. File "/usr/lib64/python2.7/site-packages/offlineimap/imapserver.py", line 511, in acquireconnection
  100. af=self.af,
  101. File "/usr/lib64/python2.7/site-packages/offlineimap/imaplibutil.py", line 194, in __init__
  102. super(WrappedIMAP4_SSL, self).__init__(*args, **kwargs)
  103. File "/usr/lib64/python2.7/site-packages/offlineimap/bundled_imaplib2.py", line 2135, in __init__
  104. IMAP4.__init__(self, host, port, debug, debug_file, identifier, timeout, debug_buf_lvl)
  105. File "/usr/lib64/python2.7/site-packages/offlineimap/bundled_imaplib2.py", line 357, in __init__
  106. self.open(host, port)
  107. File "/usr/lib64/python2.7/site-packages/offlineimap/imaplibutil.py", line 213, in open
  108. OfflineImapError.ERROR.REPO)
  109.  
  110. XOAUTH2 authentication failed: AUTHENTICATE command error: BAD ['SASL Token argument is missing or invalid.']. Data: BFKO2 AUTHENTICATE XOAUTH2
  111.  
  112. auth_mechanisms = GSSAPI, CRAM-MD5, XOAUTH2, PLAIN, LOGIN
  113.  
  114. oauth2_client_secret = ...
  115. oauth2_client_id = ...
  116. oauth2_refresh_token = ...
  117.  
  118. auth_mechanisms = GSSAPI, CRAM-MD5, PLAIN, LOGIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement