danikf / tik4net

Manage mikrotik routers with .NET C# code via ADO.NET like API or enjoy O/R mapper like highlevel api.
Apache License 2.0
174 stars 93 forks source link

API-SSL #2

Closed Deantwo closed 8 years ago

Deantwo commented 8 years ago

I don't see any support for connecting to the API via SSL. There is only Api, Ssh, and Telnet in your project right now. You can take this as a feature request I guess?

The manual (here: Manual:API-SSL) says that it is available in RouterOS 6.1 and onward. While there isn't much information on it here, from my understanding it is mostly the TCP connection that needs to be setup differently, everything else is the same. (source)

Edit: Oh, just noticed it is already on your to-do list. Sorry.

danikf commented 8 years ago

Hi,

situation is a little bit more complicated, because it is not exactly known, which SSL algorithm is used for cipher without certificates (which is - as I believe - the typical usage).

Router always closes the connection for each available SSL configuration I tried.

D

danikf commented 8 years ago

api-ssl support (with certificates) added (alpha).