Questions tagged [ssl]

Secure Sockets Layer (SSL) is a cryptographic protocol that provides communications security over the Internet. The more modern version of this protocol is Transport Layer Security (TLS), specified by the IETF in RFC 2246.

Filter by
Sorted by
Tagged with
5
votes
0answers
86 views

Node.JS Protobuf socket client with TLS support

I'm working with one environment which allows me to execute node.js code from single file without installing additional modules. My task is to write simple ssl socket client which will send protobuf ...
2
votes
0answers
60 views

Apache reverse proxy security configuration

Could someone share some light and check if this is okay for apache httpd security/good standards? I'm using apache httpd to call my Node.js app that is running with Express and also configuring SSL. ...
5
votes
3answers
157 views

SslStream-compatible ReadLine extension

This code is a Extension to just be able to read a line quickly and efficiently with support for SslStream. What i'm looking to achieve: Lower CPU usage by ...
1
vote
1answer
464 views

Configuring certificate signing for development and production environments

The below code works but there's a lot of duplication I wonder if I can get around. I would like to be able to use .AddDeveloperSigningCredential(false) if in ...
3
votes
0answers
5k views

OpenSSL Client/Server

I have recently begun to dabble with OpenSSL to provide TLS encryption to TCP socket communication. Through documentation and heavy reference on example code I have come up with the following code (...
11
votes
1answer
2k views

SSL Mutual Authentication, with one specific Root Certificate

For a new server application we are developing; I implemented a method to verify SSL certificates. The use of this method is Mutual Authentication: to prove that the server and client are who they say ...
12
votes
3answers
9k views

Function to find a certificate in either the user or the machine store

I wanted a function that would return a certificate, given its serial number, regardless of which store it is in. It has to do almost the same exact thing but twice (once for each store). To keep it ...
3
votes
1answer
462 views

Subclass of socket with optional TLS

...
7
votes
3answers
19k views

Complete async OpenSSL example

I am trying to create a fully async example of a client and server using SSL. I think these are the required assumptions: Connecting may require socket readability and writeability notifications. ...
0
votes
1answer
103 views

Auth token SSL implementation

...
1
vote
0answers
67 views

JAX-WS client to accept server certificates

I am building a JAX-WS client with a GUI that connects to a server by accepting self-signed server certificates (when it uses HTTPS). The accepting of the certificates is not automatic, it is similar ...
7
votes
1answer
6k views

.Net BouncyCastle - CSR and Private Key Generation

The purpose of this code is to generate the CSR and the Private Key. The scenario is that we have some clients for whom we run websites and for the SSL component we want to have a page on our site ...
5
votes
1answer
3k views

Attach list of files and email using secure connection

Can I use this function to reliably attach a list of excel files to an email and create a secure connection to transmit said email? My python programming is self taught and I put this function ...
1
vote
0answers
1k views

License key generation & verification algorithm

I've made this for generating license keys & later checking if they're OK and valid. A key is generated per-user and has an expiration time. That works fine. Could anyone please check if it ...
2
votes
1answer
53 views

Forcing SSL and WWW using .htaccess

I would like to know if this code in .htaccess for forcing SSL and WWW in URL is correct, because with another code I usually get redirect loop, e.g. ...
5
votes
1answer
3k views

Secure CURL to & handle response from Payment Gateway

I'm using a payment gateway and am trying to implement the post and response handling with CURL so that it all happens on one page. The following is tested and works but I want to double check it's ...
10
votes
2answers
4k views

Safely accepting a known SSL certificate with a different host name

My app communicates with a server over an internal network through HTTPS. The SSL certificate on this server is listed for the host as its external host name. I want to accept this certificate, but I ...