-
Notifications
You must be signed in to change notification settings - Fork 3.2k
feat: add support for selecting SSL key type (ECDSA/RSA) #4218
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
Open
mnr73
wants to merge
30
commits into
NginxProxyManager:develop
Choose a base branch
from
mnr73:develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
e6ec74c
feat: add support for selecting SSL key type (ECDSA/RSA)
mnr73 8e9e033
fix indent: tab to space
mnr73 891877a
fix ssl key-type certificate
mnr73 2723de2
add ssl_ecdh_curve for more compatibility
mnr73 5e7b69c
add update cipher suites
mnr73 95a94a4
add elliptic-curve
mnr73 111fc28
Revert "add elliptic-curve"
mnr73 04b3608
remove elliptic-curve from certbot command options
mnr73 cb79556
add ssl_key_type in swagger
mnr73 eb5c51a
add support more cipher suites
mnr73 2e45444
change ssl_ciphers for more compatibility
mnr73 5ba7363
fix ssl cipher bug
mnr73 f386f6b
remove elliptic-curve
mnr73 32e0784
support more cipher suites
mnr73 f68c1b7
add Diffie-Hellman Parameters to cipher suites
mnr73 1353937
fix copy address
mnr73 04636b7
add feature: set default server
mnr73 5dc78df
fix messages indent: convert to space
mnr73 c6d884d
fix indent
mnr73 ad36fb5
show select ssl key type just for create new ssl
mnr73 65f971f
add migration names and combine ssl key migrations
mnr73 a121cb1
remove unnecessary whitespace
mnr73 d3a5fac
make ssl_key_type optional
mnr73 2cab405
Merge branch 'fix-bugs' into develop
mnr73 101afa0
remove default_server from certificate object
mnr73 408eab8
remove unesessary default values
mnr73 c135880
Revert "remove default_server from certificate object"
mnr73 f34cb59
Revert "remove unesessary default values"
mnr73 3856b6b
remove default server from certificate object
mnr73 08f95a9
Merge remote-tracking branch 'upstream/develop' into develop
mnr73 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
feat: add support for selecting SSL key type (ECDSA/RSA)
Added the ability to specify the SSL key type (ECDSA or RSA) for each site in the Nginx Proxy Manager. This enhancement is particularly useful for environments with IoT devices that have limitations with specific key types, such as RSA-only support. The implementation includes: - Backend support for storing and validating the `ssl_key_type` field. - Swagger schema updated to validate the new input. - Frontend update to allow users to select the SSL key type via a dropdown menu. This feature ensures greater flexibility and compatibility in managing SSL certificates for diverse setups.
- Loading branch information
commit e6ec74c2f77fba5ce1b253f3d811696749c2b49b
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,39 @@ | ||
const migrate_name = 'identifier_for_migrate'; | ||
const logger = require('../logger').migrate; | ||
|
||
/** | ||
* Migrate | ||
* | ||
* @see http://knexjs.org/#Schema | ||
* | ||
* @param {Object} knex | ||
* @param {Promise} Promise | ||
* @returns {Promise} | ||
*/ | ||
exports.up = function (knex) { | ||
|
||
logger.info(`[${migrate_name}] Migrating Up...`); | ||
|
||
return knex.schema.alterTable('proxy_host', (table) => { | ||
table.enum('ssl_key_type', ['ecdsa', 'rsa']).defaultTo('ecdsa').notNullable(); | ||
}).then(() => { | ||
logger.info(`[${migrate_name}] Column 'ssl_key_type' added to table 'proxy_host'`); | ||
}); | ||
}; | ||
|
||
/** | ||
* Undo Migrate | ||
* | ||
* @param {Object} knex | ||
* @param {Promise} Promise | ||
* @returns {Promise} | ||
*/ | ||
exports.down = function (knex) { | ||
logger.info(`[${migrate_name}] Migrating Down...`); | ||
|
||
return knex.schema.alterTable('proxy_host', (table) => { | ||
table.dropColumn('ssl_key_type'); | ||
}).then(() => { | ||
logger.info(`[${migrate_name}] Column 'ssl_key_type' removed from table 'proxy_host'`); | ||
}); | ||
}; |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,7 +1,6 @@ | ||
text = True | ||
non-interactive = True | ||
webroot-path = /data/letsencrypt-acme-challenge | ||
key-type = ecdsa | ||
elliptic-curve = secp384r1 | ||
preferred-chain = ISRG Root X1 | ||
server = |
This file contains hidden or 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,6 +1,5 @@ | ||
text = True | ||
non-interactive = True | ||
webroot-path = /data/letsencrypt-acme-challenge | ||
key-type = ecdsa | ||
elliptic-curve = secp384r1 | ||
preferred-chain = ISRG Root X1 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.