Skip to main content

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
1 vote
0 answers
229 views

Golang HTTPS certificate expiry checking CLI tool (UPDATED)

I previously submitted this CLI tool to this site for review and have made changes based on comments by the reviewer. I have refactored the code, fixed a bug (the tool will no longer output ...
preetpalS's user avatar
4 votes
1 answer
508 views

Golang HTTPS certificate expiry checking CLI tool

I am a beginner at using Golang, I would like advice about the following program. It is a CLI tool that can check the expiration dates of HTTPS certificates concurrently. I have only used the standard ...
preetpalS's user avatar
1 vote
1 answer
2k views

.Net BouncyCastle - PKCS#3, PKCS#8 & PKCS#10 Generation as base64

Reaserching BouncyCastle for C# is not for the faint of heart. After navigating an ocean of Java dead ends, I have arrived at the following code. I believe it's very useful for someone who wants to ...
suchislife's user avatar
6 votes
1 answer
301 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 ...
Olvin Roght's user avatar
2 votes
0 answers
73 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. ...
xDG's user avatar
  • 121
5 votes
3 answers
482 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 ...
Ma Dude's user avatar
  • 53
1 vote
1 answer
1k 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 ...
egmfrs's user avatar
  • 175
4 votes
0 answers
8k 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 (...
chadduffin's user avatar
12 votes
1 answer
3k 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 ...
Niek van der Steen's user avatar
12 votes
3 answers
17k 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 ...
John Wu's user avatar
  • 631
3 votes
1 answer
865 views

Subclass of socket with optional TLS

...
Torxed's user avatar
  • 133
8 votes
3 answers
24k 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. ...
John Cashew's user avatar
0 votes
1 answer
127 views

Auth token SSL implementation

...
Nicolas Manzini's user avatar
2 votes
0 answers
547 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 ...
agenthost's user avatar
  • 121
8 votes
1 answer
9k 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 ...
Robin Rieger's user avatar
4 votes
1 answer
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 ...
jes516's user avatar
  • 255
2 votes
1 answer
57 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. ...
user2406937's user avatar
5 votes
1 answer
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 ...
user138341's user avatar
10 votes
2 answers
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 ...
Drake Clarris's user avatar