Quantcast
Channel: Rebex Q&A Forum - Recent questions and answers
Browsing all 3860 articles
Browse latest View live

Answered: Prompt detection in scripting when the prompt is variable

Hello,you can set scripting.Prompt directly. You can make up some regular expression that will match the prompt with the counter, such asscripting.Prompt = @"regex:PromptWithCounter[\d+]"; You can also...

View Article


Answered: The SSH tunneling is not supported on .NET Standard

Yes, this will be supported on .NET Core 2.x / .NET Standard 2.x in the next release. A beta is already available - if you would like to give it a try, please contact us at support@rebex.net.

View Article


Socket Error 10038 using Rebex.Net.Ftp.PutFile()

Hello Rebex Community, I use Rebex.Net.Ftp.PutFile () and get the following error message: Rebex.Net.FtpException: Socket error 10038 occured. Can it be that I use the library incorrectly or what can...

View Article

Answered: Supported key exchange and MAC algorithms for SFTP

The following applies to the current version of Rebex SFTP. See the complete list of supported ciphers for details.KexAlgorithms: curve25519-sha256@libssh.org - not supported yet (planned)...

View Article

Https with cookie container

Is there any way to add a cookie container like HttpWebRequest has a cookie container for handling cookies

View Article


ProtocolVersion exception using Rebex HTTPS

Hello,The lib is throwing the exception below, does anyone know why it happens? It's happening on RC3 running on .NET 4.6Error while processing request. Fatal error 'ProtocolVersion' has been...

View Article

Key is only allowed to be used for signing, not for decryption

Regarding this enum value Assume I have a certificate with only signing purposes.Certificate.Validate returns valid certificate.(passing IgnoreWrongUsage does not change anything)When I pass this...

View Article

Rebex Certificate Moq for unit tests

Hi, I would like to create a Moq of a Certificate class for my unit tests but this class is sealed, does not have an interface(I see IAsn1Node which cannot be used) and does not have any virtual...

View Article


Method Rebex.Net.Sftp.GetFile(string, Stream) throws "Internal file read error."

Hi,I am occasionally receiving an Exception with Message "Internal file read error." when calling method Rebex.Net.Sftp.GetFile(string, Stream).Does this message originate from the SFTP server or is it...

View Article


Answered: Https with cookie container

We plan to add support for an equivalent of CookieContainer later this year.Until then, use Cookie request headers to specify cookies to be sent to the server, and Set-Cookie response header to...

View Article

Answered: ProtocolVersion exception using Rebex HTTPS

Hello,This error occurs when TLS packet header contains an improper version number. This might indicate, for eaxmple, a bug in TLS/SSL, a bug in a higher layer (such as sending non-encrypted data...

View Article

Answered: Download files from root directory

Please create a communication log using Ftp object's LogWriter property (see the KB article on logging for details) and either post it here or mail it to support@rebex.net for analysis. This should...

View Article

sftp error password,keyboard-interactive

receiving following error when trying to connect to ftp, please advise.Authentication was partially successful, but server requires additional authentication with: 'password,keyboard-interactive'.

View Article


Answered: Rebex HTTPS Not working on server which forces TLS 1.2

This looks like a TLS 1.2 session has been successfully negotiated, and that a HTTP request has been successfully sent and a response received. The response was a "302" response indicating that the...

View Article

how to use TlsSocket directly?

Using cfnet 3.5, I want to mod the m2mqtt lib to connect to AWS.IoT using a Rebex TlsSocket.Do you have any tutorial/sample/doc on using TlsSocket for TLS 1.2 in mutual authentication? Thank you.

View Article


Security Certificate ValidationOptions.WrongUsage

How can I create a certificate that its Validate method will return ValidationOptions.WrongUsage?

View Article

Answered: how to use TlsSocket directly?

Unlike our high-level APIs, the TlsSocket class doesn’t come with sample code, but it resembled System.Net.Sockets.Socket class and its usage is very straightforward.Its API is documented at...

View Article


does TLS support ALPN extension?

Hi, I need to connect to AWS.IoT using mqtt through port 443 and AWS requires the TLS client to support the ALPN extension to specify the "x-amzn-mqtt-ca" protocol.Does TlsSocket support ALPN...

View Article

changed from trial to release and not getfile with sftp

stfp using sftp doing getFile was working with trial. Now downloads file but then errors System.Exception.COMPlusExceptionCode sEDILock = {object} Value -532462766using visual studio c#Steps taken:...

View Article

Answered: does TLS support ALPN extension?

Hi, TlsSocket doesn't support ALPN extension at the moment. However, according to the specification, it looks like adding support for this would be quite simple - we'll add it to one of the next releases.

View Article
Browsing all 3860 articles
Browse latest View live