障害情報

マネーサーバのクライアント(SIM)認証

 
Picture of Iseki Fumikazu
マネーサーバのクライアント(SIM)認証
by Iseki Fumikazu - Monday, 27 May 2019, 6:25 PM
 

現在 JOG のマネーサーバのクライアント(SIM)認証が有効になっていません.

有効にすると

System.Security.Cryptography.X509Certificates.X509Certificate2.GetNameInfo()

System.InvalidOperationException: Operation is not valid due to the current state of the object.

のエラーが起きます.

同じOpenSimのシステム(バージョン)を使用している TUISの教育グリッドでは発生しないため,インストールしている mono のバージョンのせいだと思われます.

TUISの教育グリッド: Mono JIT compiler version 4.4.2
Japan Open Grid:Mono JIT compiler version 5.20.1.27

 

----------------------------
12:18:44 - [BASE HTTP SERVER]: HttpServer.HttpListener had an exception System.InvalidOperationException: Operation is not valid due to the current state of the object.
  at Mono.Btls.X509CertificateImplBtls.MustFallback () [0x00008] in <064e47c6af704f099a207445840d0da9>:0
  at Mono.Btls.X509CertificateImplBtls.get_FallbackImpl () [0x00000] in <064e47c6af704f099a207445840d0da9>:0
  at Mono.Btls.X509CertificateImplBtls.GetNameInfo (System.Security.Cryptography.X509Certificates.X509NameType nameType, System.Boolean forIssuer) [0x00000] in <064e47c6af704f099a207445840d0da9>:0
  at System.Security.Cryptography.X509Certificates.X509Certificate2.GetNameInfo (System.Security.Cryptography.X509Certificates.X509NameType nameType, System.Boolean forIssuer) [0x00006] in <064e47c6af704f099a207445840d0da9>:0
  at HttpServer.HttpClientContext..ctor (System.Boolean secured, System.Net.IPEndPoint remoteEndPoint, System.IO.Stream stream, HttpServer.IRequestParserFactory parserFactory, System.Int32 bufferSize, System.Net.Sockets.Socket sock) [0x00232] in <4d43db97334f4d22a50a9fa8d175062a>:0
  at HttpServer.HttpContextFactory.CreateNewContext (System.Boolean isSecured, System.Net.IPEndPoint endPoint, System.IO.Stream stream, System.Net.Sockets.Socket sock) [0x00000] in <4d43db97334f4d22a50a9fa8d175062a>:0
  at HttpServer.HttpContextFactory.CreateContext (System.Boolean isSecured, System.Net.IPEndPoint endPoint, System.IO.Stream stream, System.Net.Sockets.Socket sock) [0x00000] in <4d43db97334f4d22a50a9fa8d175062a>:0
  at HttpServer.HttpContextFactory.CreateSecureContext (System.Net.Sockets.Socket socket, System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Security.Authentication.SslProtocols protocol, System.Net.Security.RemoteCertificateValidationCallback _clientCallback) [0x0007d] in <4d43db97334f4d22a50a9fa8d175062a>:0
  at HttpServer.HttpListenerBase.OnAccept (System.IAsyncResult ar) [0x00098] in <4d43db97334f4d22a50a9fa8d175062a>:0

Picture of Iseki Fumikazu
Re: マネーサーバのクライアント(SIM)認証
by Iseki Fumikazu - Monday, 27 May 2019, 6:27 PM
 

もう少し考えて,マネーサーバ側で解決方法がない場合は,mono のバージョンを下げます.