-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- Thanks for the contribution, this is awesome. --> # PR Details ## Description Previously existing Dockerfile commands seem to have been lost. These changes restore the old Docker file to allow for successful build. ## Related GitHub Issue <!--- This project only accepts pull requests related to open GitHub issues or Jira Keys --> <!--- If suggesting a new feature or change, please discuss it in an issue first --> <!--- If fixing a bug, there should be an issue describing it with steps to reproduce --> <!--- Please DO NOT name partially fixed issues, instead open an issue specific to this fix --> <!--- Please link to the issue here: --> ## Related Jira Key <!-- e.g. CAR-123 --> ## Motivation and Context The Dockerfile was failing to build images. This fixes it. ## How Has This Been Tested? Tested on EC2 instance. ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [x] Defect fix (non-breaking change that fixes an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that cause existing functionality to change) ## Checklist: <!--- Go over all the following points, and put an `x` in all the boxes that apply. --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> - [ ] I have added any new packages to the sonar-scanner.properties file - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [ ] I have read the [**CONTRIBUTING**](https://github.com/usdot-fhwa-stol/carma-platform/blob/develop/Contributing.md) document. - [ ] I have added tests to cover my changes. - [ ] All new and existing tests passed.
- Loading branch information
Showing
4 changed files
with
150 additions
and
3 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
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,134 @@ | ||
# --------------------------------------- | ||
# Module: ssl | ||
# Enables a TLS(SSL) Connector on the server. | ||
# This may be used for HTTPS and/or HTTP2 by enabling | ||
# the associated support modules. | ||
# --------------------------------------- | ||
--module=ssl | ||
|
||
### TLS(SSL) Connector Configuration | ||
|
||
## Connector host/address to bind to | ||
# jetty.ssl.host=0.0.0.0 | ||
|
||
## Connector port to listen on | ||
# jetty.ssl.port=8443 | ||
|
||
## Connector idle timeout in milliseconds | ||
# jetty.ssl.idleTimeout=30000 | ||
|
||
## Number of acceptors (-1 picks default based on number of cores) | ||
# jetty.ssl.acceptors=-1 | ||
|
||
## Number of selectors (-1 picks default based on number of cores) | ||
# jetty.ssl.selectors=-1 | ||
|
||
## ServerSocketChannel backlog (0 picks platform default) | ||
# jetty.ssl.acceptQueueSize=0 | ||
|
||
## Thread priority delta to give to acceptor threads | ||
# jetty.ssl.acceptorPriorityDelta=0 | ||
|
||
## The requested maximum length of the queue of incoming connections. | ||
# jetty.ssl.acceptQueueSize=0 | ||
|
||
## Enable/disable the SO_REUSEADDR socket option. | ||
# jetty.ssl.reuseAddress=true | ||
|
||
## Enable/disable TCP_NODELAY on accepted sockets. | ||
# jetty.ssl.acceptedTcpNoDelay=true | ||
|
||
## The SO_RCVBUF option to set on accepted sockets. A value of -1 indicates that it is left to its default value. | ||
# jetty.ssl.acceptedReceiveBufferSize=-1 | ||
|
||
## The SO_SNDBUF option to set on accepted sockets. A value of -1 indicates that it is left to its default value. | ||
# jetty.ssl.acceptedSendBufferSize=-1 | ||
|
||
## Connect Timeout in milliseconds | ||
# jetty.ssl.connectTimeout=15000 | ||
|
||
## Whether SNI is required for all secure connections. Rejections are in TLS handshakes. | ||
# jetty.sslContext.sniRequired=false | ||
|
||
## Whether SNI is required for all secure connections. Rejections are in HTTP 400 response. | ||
# jetty.ssl.sniRequired=false | ||
|
||
## Whether request host names are checked to match any SNI names | ||
# jetty.ssl.sniHostCheck=true | ||
|
||
## max age in seconds for a Strict-Transport-Security response header (default -1) | ||
# jetty.ssl.stsMaxAgeSeconds=31536000 | ||
|
||
## include subdomain property in any Strict-Transport-Security header (default false) | ||
# jetty.ssl.stsIncludeSubdomains=true | ||
|
||
### SslContextFactory Configuration | ||
## Note that OBF passwords are not secure, just protected from casual observation | ||
## See https://eclipse.org/jetty/documentation/current/configuring-security-secure-passwords.html | ||
|
||
## The Endpoint Identification Algorithm | ||
## Same as javax.net.ssl.SSLParameters#setEndpointIdentificationAlgorithm(String) | ||
#jetty.sslContext.endpointIdentificationAlgorithm= | ||
|
||
## SSL JSSE Provider | ||
# jetty.sslContext.provider= | ||
|
||
## KeyStore file path (relative to $jetty.base) | ||
# jetty.sslContext.keyStorePath=etc/keystore | ||
## KeyStore absolute file path | ||
# jetty.sslContext.keyStoreAbsolutePath=${jetty.base}/etc/keystore | ||
|
||
## TrustStore file path (relative to $jetty.base) | ||
# jetty.sslContext.trustStorePath=etc/keystore | ||
## TrustStore absolute file path | ||
# jetty.sslContext.trustStoreAbsolutePath=${jetty.base}/etc/keystore | ||
|
||
## KeyStore password | ||
# jetty.sslContext.keyStorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4 | ||
|
||
## KeyStore type and provider | ||
# jetty.sslContext.keyStoreType=JKS | ||
# jetty.sslContext.keyStoreProvider= | ||
|
||
## KeyManager password | ||
# jetty.sslContext.keyManagerPassword=OBF:1u2u1wml1z7s1z7a1wnl1u2g | ||
|
||
## TrustStore password | ||
# jetty.sslContext.trustStorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4 | ||
|
||
## TrustStore type and provider | ||
# jetty.sslContext.trustStoreType=JKS | ||
# jetty.sslContext.trustStoreProvider= | ||
|
||
## whether client certificate authentication is required | ||
# jetty.sslContext.needClientAuth=false | ||
|
||
## Whether client certificate authentication is desired | ||
# jetty.sslContext.wantClientAuth=false | ||
|
||
## Whether cipher order is significant (since java 8 only) | ||
# jetty.sslContext.useCipherSuitesOrder=true | ||
|
||
## To configure Includes / Excludes for Cipher Suites or Protocols see tweak-ssl.xml example at | ||
## https://www.eclipse.org/jetty/documentation/current/configuring-ssl.html#configuring-sslcontextfactory-cipherSuites | ||
|
||
## Set the size of the SslSession cache | ||
# jetty.sslContext.sslSessionCacheSize=-1 | ||
|
||
## Set the timeout (in seconds) of the SslSession cache timeout | ||
# jetty.sslContext.sslSessionTimeout=-1 | ||
|
||
## Allow SSL renegotiation | ||
# jetty.sslContext.renegotiationAllowed=true | ||
# jetty.sslContext.renegotiationLimit=5 | ||
|
||
# --------------------------------------- | ||
# Module: https | ||
--module=https | ||
|
||
jetty.ssl.port=443 | ||
jetty.sslContext.keyStorePath=etc/keystore | ||
jetty.sslContext.keyStorePassword=password | ||
jetty.sslContext.keyManagerPassword=password | ||
jetty.sslContext.trustStorePath=etc/keystore | ||
jetty.sslContext.trustStorePassword=password |