Twisted HTTPS Server-Client Communication problem
Ohad Shai <[email protected]> Tue, 17 Oct 2017 07:36:33 +0000
| Newsgroups | gmane.comp.python.twisted.web,gmane.comp.python.twisted |
|---|---|
| Message-ID | <VI1PR0701MB2446D6A0A38C81E1676344619A4C0@VI1PR0701MB2446.eurprd07.prod.outlook.com> |
--===============1322322244837454335== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_VI1PR0701MB2446D6A0A38C81E1676344619A4C0VI1PR0701MB2446_" --_000_VI1PR0701MB2446D6A0A38C81E1676344619A4C0VI1PR0701MB2446_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have an important question about twisted HTTPS client-server communicatio= n. I ran an HTTPS server with my own certs and tried to communicate with a twi= sted HTTPS client with the specific cert. I am getting an error that says: "Invalid DNS-ID". all the error info with all my code is in here: https://gist.github.com/ano= nymous/e46d4d8dc1c102857497cde9e2fc4725#file-gistfile1-txt Twisted-HTTPS-client-server<https://gist.github.com/anonymous/e46d4d8dc1c10= 2857497cde9e2fc4725#file-gistfile1-txt> gist.github.com Twisted-HTTPS-client-server I will be appreciate if someone has a clue how can I fix this error. Thanks, Ohad Shai Software Engineer, EDR Linux 972-052-6887792 [email protected]<mailto:[email protected]> --_000_VI1PR0701MB2446D6A0A38C81E1676344619A4C0VI1PR0701MB2446_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi= n-bottom:0;} --></style> </head> <body dir=3D"ltr"> <div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font= -family:Calibri,Helvetica,sans-serif;" dir=3D"ltr"> <p></p> <p style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; = font-size: 16px;"> Hi,</p> <p style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; = font-size: 16px;"> <br> </p> <p style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; = font-size: 16px;"> I have an important question about twisted HTTPS client-server communicatio= n.</p> <p style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; = font-size: 16px;"> <br> </p> <p style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; = font-size: 16px;"> I ran an HTTPS server with my own certs and tried to communicate with a twi= sted HTTPS client with the specific cert.</p> <p style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; = font-size: 16px;"> <br> </p> <p style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; = font-size: 16px;"> I am getting an error that says: "Invalid DNS-ID".</p> <p style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; = font-size: 16px;"> <br> </p> <p style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; = font-size: 16px;"> all the error info with all my code is in here: <a href=3D"https://gis= t.github.com/anonymous/e46d4d8dc1c102857497cde9e2fc4725#file-gistfile1-txt"= class=3D"OWAAutoLink" id=3D"LPlnk464548" previewremoved=3D"true">https://g= ist.github.com/anonymous/e46d4d8dc1c102857497cde9e2fc4725#file-gistfile1-tx= t</a></p> <div id=3D"LPBorder_GT_15070397451480.2587907944564518" style=3D"font-famil= y: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px; margi= n-bottom: 20px; overflow: auto; width: 1879px;"> <table id=3D"LPContainer_15070397451360.9298279788029875" cellspacing=3D"0"= style=3D"width: 1691px; overflow: auto; padding-top: 20px; padding-bottom:= 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-= bottom: 1px dotted rgb(200, 200, 200);"> <tbody> <tr valign=3D"top" style=3D"border-spacing: 0px;"> <td id=3D"x_TextCell_15070397451400.09563524474527507" colspan=3D"2" style= =3D"vertical-align: top; padding: 0px; position: relative;"> <div id=3D"LPRemovePreviewContainer_15070397451410.4914596452617588"></div> <div id=3D"LPTitle_15070397451410.9598663211779677" style=3D"top: 0px; colo= r: rgb(0, 120, 215); font-size: 21px; font-family: wf_segoe-ui_light, "= ;Segoe UI Light", "Segoe WP Light", "Segoe UI", &q= uot;Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; line-heigh= t: 21px;"> <a href=3D"https://gist.github.com/anonymous/e46d4d8dc1c102857497cde9e2fc47= 25#file-gistfile1-txt" target=3D"_blank" rel=3D"noopener noreferrer" id=3D"= LPUrlAnchor_15070397451430.5598543629427697" style=3D"text-decoration-line:= none;">Twisted-HTTPS-client-server</a></div> <div id=3D"LPMetadata_15070397451440.18621427807434188" style=3D"margin: 10= px 0px 16px; color: rgb(102, 102, 102); font-family: wf_segoe-ui_normal, &q= uot;Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif,= EmojiFont; font-size: 14px; line-height: 14px;"> gist.github.com</div> <div id=3D"LPDescription_15070397451460.9204283485785043" style=3D"color: r= gb(102, 102, 102); font-family: wf_segoe-ui_normal, "Segoe UI", &= quot;Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size= : 14px; line-height: 20px; max-height: 100px; overflow: hidden;"> Twisted-HTTPS-client-server</div> </td> </tr> </tbody> </table> </div> <br style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont;= font-size: 16px;"> <p style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; = font-size: 16px;"> </p> <p style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; = font-size: 16px;"> <br> </p> <p style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; = font-size: 16px;"> I will be appreciate if someone has a clue how can I fix this error.</= p> <p style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; = font-size: 16px;"> <br> </p> <p style=3D"font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; = font-size: 16px;"> Thanks,</p> <br> <p></p> <p><br> </p> <div id=3D"Signature"> <div id=3D"divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size: 12pt; colo= r: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, &q= uot;Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, &q= uot;Segoe UI Symbol", "Android Emoji", EmojiSymbols;"> <p></p> <div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,&quo= t;Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"S= egoe UI Symbol","Android Emoji",EmojiSymbols,EmojiFont,"= ;Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Se= goe UI Symbol","Android Emoji",EmojiSymbols,EmojiFont,"= Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Seg= oe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px; = margin:0px"> <font size=3D"2" color=3D"#212121" style=3D"font-family:Calibri,sans-serif,= serif,EmojiFont"><span style=3D"font-size:11pt"><font color=3D"#548DD4" sty= le=3D"font-family:Tahoma,sans-serif,serif,EmojiFont"><span lang=3D"en-US"><= b>Ohad Shai</b></span></font></span></font></div> <div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,&quo= t;Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"S= egoe UI Symbol","Android Emoji",EmojiSymbols,EmojiFont,"= ;Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Se= goe UI Symbol","Android Emoji",EmojiSymbols,EmojiFont,"= Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Seg= oe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px; = margin:0px"> <font size=3D"2" color=3D"#212121" style=3D"font-family:Calibri,sans-serif,= serif,EmojiFont"><span style=3D"font-size:11pt"><font color=3D"gray" style= =3D"font-family:Tahoma,sans-serif,serif,EmojiFont"><span lang=3D"en-US">Sof= tware Engineer, EDR Linux</span></font></span></font></div> <div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,&quo= t;Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"S= egoe UI Symbol","Android Emoji",EmojiSymbols,EmojiFont,"= ;Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Se= goe UI Symbol","Android Emoji",EmojiSymbols,EmojiFont,"= Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Seg= oe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px; = margin:0px"> <font size=3D"2" color=3D"#212121" style=3D"font-family:Calibri,sans-serif,= serif,EmojiFont"><span style=3D"font-size:11pt"><font color=3D"gray" style= =3D"font-family:Tahoma,sans-serif,serif,EmojiFont"><span lang=3D"it">972-05= 2-6887792</span></font></span></font></div> <div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,&quo= t;Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"S= egoe UI Symbol","Android Emoji",EmojiSymbols,EmojiFont,"= ;Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Se= goe UI Symbol","Android Emoji",EmojiSymbols,EmojiFont,"= Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Seg= oe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px; = margin:0px"> <font size=3D"2" color=3D"#212121" style=3D"font-family:Calibri,sans-serif,= serif,EmojiFont"><span style=3D"font-size:11pt"><a href=3D"mailto:daniel.do= [email protected]" target=3D"_blank" rel=3D"noopener noreferrer" id=3D"LPNoL= P"><font style=3D"font-family:Tahoma,sans-serif,serif,EmojiFont"><span id= =3D"LPNoLP" lang=3D"fr">[email protected]</span></font></a></span></fo= nt></div> <br> <p></p> </div> </div> </div> </body> </html> --_000_VI1PR0701MB2446D6A0A38C81E1676344619A4C0VI1PR0701MB2446_-- --===============1322322244837454335== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KVHdpc3RlZC13 ZWIgbWFpbGluZyBsaXN0ClR3aXN0ZWQtd2ViQHR3aXN0ZWRtYXRyaXguY29tCmh0dHBzOi8vdHdp c3RlZG1hdHJpeC5jb20vY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL3R3aXN0ZWQtd2ViCg== --===============1322322244837454335==--