<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I hate to say it but I'm getting even worse behaviour. For HTTPS sites that don't require HTTP auth at all, they also fail.<div><br></div><div>For instance:</div><div><br></div><div>'<a href="https://www.amazon.com'">https://www.amazon.com'</a> asUrl retrieveContents content</div><div><br></div><div>Printit yields:&nbsp;&nbsp;'error occured retrieving <a href="https://www.amazon.com/">https://www.amazon.com/</a>: Server <a href="http://www.amazon.com">www.amazon.com</a> is not responding'</div><div><br></div><div>Ditto for lots of other sites, such as Google.</div><div><br></div><div>Interestingly, it still works for *some* of the examples from the SSL Workspace provided with the SSL package (<a href="https://investing.schwab.com/">https://investing.schwab.com/</a> and&nbsp;'<a href="https://www.usaa.com')">https://www.usaa.com')</a> but not others.</div><div><br></div><div>This implies some sort of cipher or protocol the SSL suite doesn't support.</div><div><br></div><div>This is pretty bad for us, as we need to do some stuff for a client that involves XML-RPC calls to an SSL server, which I've just discovered doesn't work with the SSL package :(</div><div><br></div><div>Cheers,</div><div>Simon</div><div><br></div><div><br><div><div>On 20 Feb 2009, at 12:57, Pierre-Edouard PORTIER wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi!<br>I try to connect to SSL + Basic HTTP Auth sites, for example : <a href="https://mail.google.com" target="_blank">https://mail.google.com</a> or <a href="https://api.del.icio.us" target="_blank">https://api.del.icio.us</a><br> When I try :<br><br>| conn |<br> conn := SSLSocket newConnectionAddress: (NetNameResolver addressForName: '<a href="http://mail.google.com" target="_blank">mail.google.com</a>') port: 443<br><br>I obtain a socket with state: SSLConnectionClosed.<br> With sites that do not require HTTP Basic authentication :<br> <br>| conn |<br>conn := SSLSocket newConnectionAddress: (NetNameResolver addressForName: '<a href="http://www.usaa.com" target="_blank">www.usaa.com</a>') port: 443<br><br>I obtain a SSLSocket with state: SSLConnectionConnected.<br> But don't we need an open socket in order to send the request with the authentication data in the header ?<br><br>In fact, inside the HttpsSocket>>httpsGetDocumentFromUrl: url args: args accept: mimeType request: requestString we find:<br> <br>sock := HttpsSocket new.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sock connectTo: serverAddr port: connectToPort.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (sock waitForConnectionUntil: (Time millisecondClockValue + (10000) truncated)) ifTrue: [<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sock sendCommand: 'GET ', page, ' HTTP/1.0', String crlf, <br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (mimeType ifNotNil: ['ACCEPT: ', mimeType, String crlf] ifNil: ['']),<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'ACCEPT: text/html', String crlf,&nbsp;&nbsp;&nbsp; "Always accept plain text"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; requestString,&nbsp;&nbsp;&nbsp; "extra user request. Authorization"<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'Host: ', serverName, ':', port printString, String crlf.<br>etc.etc.<br>with the possibility to put the authentication header inside the requestString.<br><br>Has someone any idea how to solve this problem?<br> <br>Thank you.<br><br>pep<br><br> <br><br> <font style="BACKGROUND-COLOR: #ffffff"><p align="center"><font style="BACKGROUND-COLOR: #ffffff"><font face="Arial" size="1">Click <a href="https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==">here</a> to report this email as spam.</font></font></p></font> <br></blockquote></div><br></div><br><br>
<A href="http://www.pinesoft.co.uk/"></A><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma"><SPAN style="FONT-SIZE: 18pt; COLOR: green; FONT-FAMILY: Webdings">
<P class=MsoNormal style="MARGIN: 0cm 0cm 12pt"><SPAN style="FONT-SIZE: 24pt; COLOR: green; FONT-FAMILY: Webdings"></SPAN>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 12pt"><SPAN style="FONT-SIZE: 24pt; COLOR: green; FONT-FAMILY: Webdings">&#252;</SPAN><FONT face=Calibri><SPAN style="FONT-SIZE: 24pt; COLOR: green"> </SPAN><FONT size=3><SPAN style="COLOR: green"><STRONG><FONT size=2>Consider your responsibility to the environment - think before you print!</FONT></STRONG></SPAN> </FONT></FONT></P></SPAN></SPAN></o:p></SPAN></SPAN>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"><o:p><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma"><FONT size=1>*******************************************************************************************************************************************</FONT></SPAN></o:p></SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"><o:p><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma"></SPAN><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><FONT size=1>This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof.</FONT></SPAN></o:p></SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"><o:p><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><FONT size=1><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"><o:p><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma"><FONT size=1>*******************************************************************************************************************************************</FONT></SPAN></o:p></SPAN></SPAN>&nbsp;<o:p></o:p></FONT></SPAN></P>
<ADDRESS>
<P style="BACKGROUND: white; MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 8pt; mso-bidi-font-style: italic"><o:p><FONT size=1></FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><FONT size=1>Pinesoft&nbsp;Limited are registered in <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:place w:st="on"><st1:country-region w:st="on">England</st1:country-region></st1:place>, Registered number: 2914825. Registered office: <st1:address w:st="on"><st1:Street w:st="on">266-268 High Street</st1:Street>, <st1:City w:st="on">Waltham</st1:City></st1:address> Cross, <st1:place w:st="on"><st1:City w:st="on">Herts</st1:City>, <st1:PostalCode w:st="on">EN8 7EA</st1:PostalCode></st1:place></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><st1:place w:st="on"><st1:PostalCode w:st="on"></st1:PostalCode></st1:place></SPAN><FONT size=1>&nbsp;</FONT></o:p></SPAN></NOBR></SPAN></P></ADDRESS>
</body></html>