-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving towards a working application.
These commits are very lazy :/
- Loading branch information
James Hannah
committed
Nov 21, 2011
1 parent
3c3d9f3
commit 7f15a63
Showing
8 changed files
with
77 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
uploads/* | ||
*.swp | ||
log/* | ||
*.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
SSL Format Converter | ||
==================== | ||
|
||
A simple web application which allows users to upload SSL | ||
certificates/keys as X509 PEM files or password-protected PKCS7 | ||
.DER/.PFX files, and then allows them to download them as PEM or DER | ||
files, regardless of the original upload format. | ||
|
||
OpenSSL is used for all the SSL certificate conversion. | ||
|
||
Requirements: | ||
* sinatra | ||
* haml | ||
* json | ||
* sqlite3 | ||
* openssl (should be included with your ruby distribution) | ||
|
||
+ sinatra | ||
+ haml | ||
+ json | ||
+ sqlite3 | ||
+ openssl (should be included with your ruby distribution) | ||
|
||
Optional: | ||
* httparty (for the client) | ||
|
||
+ httparty (for the client) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
environment: production | ||
chdir: /home/jhan/SSL-Converter-Web | ||
address: 127.0.0.1 | ||
user: jhan | ||
group: jhan | ||
port: 4567 | ||
pid: /home/jhan/SSL-Conveter-Web/sslcon.pid | ||
rackup: /home/jhan/SSL-Converter-Web/sslcon.ru | ||
log: /home/jhan/SSL-Converter-Web/log/sslcon-log | ||
max_conns: 1024 | ||
timeout: 30 | ||
max_persistent_conns: 512 | ||
daemonize: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ body { | |
} | ||
|
||
.hidden { | ||
display: none; | ||
color: red; | ||
} | ||
|
||
#title #nav { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<h1>SSL Format Converter</h1> | ||
<p>A simple web application which allows users to upload SSL | ||
certificates/keys as X509 PEM files or password-protected PKCS7 | ||
.DER/.PFX files, and then allows them to download them as PEM or DER | ||
files, regardless of the original upload format.</p> | ||
<p>OpenSSL is used for all the SSL certificate conversion.</p> | ||
<p>Requirements:</p> | ||
<ul> | ||
<li>sinatra</li> | ||
<li>haml</li> | ||
<li>json</li> | ||
<li>sqlite3</li> | ||
<li>openssl (should be included with your ruby distribution)</li> | ||
</ul> | ||
<p>Optional:</p> | ||
<ul> | ||
<li>httparty (for the client)</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
require 'sinatra' | ||
|
||
set :environment, :production | ||
disable :run | ||
|
||
require 'sslcon' | ||
run Sinatra::Application |
Binary file not shown.