-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BlueSSLService client cannot connect to stunnel server on windows #173
Comments
You're getting a TLS Record with content type "Alert" (21), right? This "alert" is used in SSL/TLS for notifying to close the connection. So it's quit normal to see "Encrypted Alert" at the end of a SSL/TLS session. Normally when there is no more data to send, the sender sends this TLS Alert. What are you doing after you come back from creating the socket? |
Thanks for your reply and Sorry for late responding. My developing code is displayed below in detail. `func run(){
`func createStealthSocket() -> Socket?{
`func localConnection(from: Socket, to: Socket){
I have questions for you.
I would be grateful if you can help me out urgently. |
I want to connect to stunnel server on windows by using this BlueSSLService client.
But I get an error when I create Socket with SSLService Delegate and connect to stunnel.
This is my function for creating client tls socket.
func createStealthSocket() -> Socket?{
When i run this function, i get a normal return value without error.
But if i capture a network packet with wireshark, i get an encrypted alert (21).
Below is the log taken from wireshark.
The text was updated successfully, but these errors were encountered: