Skip to content

Commit

Permalink
Change certificate key size to 4096 bits (#984)
Browse files Browse the repository at this point in the history
* Change certificate key size to 4096 bits

* Add docs

* Add RN

* Update docs/release-notes/1.8.3.md

Co-authored-by: Natalia Sitko <[email protected]>

---------

Co-authored-by: Natalia Sitko <[email protected]>
  • Loading branch information
werdes72 and nataliasitko authored Aug 22, 2024
1 parent fef1ec2 commit 1bb2592
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
3 changes: 3 additions & 0 deletions docs/release-notes/1.8.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## New features

- The self-signed CA certificate's bit length is now set to `4096` instead of the default `2048`. [#984](https://github.com/kyma-project/istio/pull/984)
3 changes: 2 additions & 1 deletion docs/user/00-40-overview-istio-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ These configuration changes are applied to customize Istio:
- Ingress Gateway is expanded to handle HTTPS requests on port `443`. It redirects HTTP requests to HTTPS on port `80`.
- The use of HTTP 1.0 is enabled in the outbound HTTP listeners by the `PILOT_HTTP10` flag set in the Istiod component environment variables.
- The [Istio custom resource (CR)](./04-00-istio-custom-resource.md) defines the kind of data used to manage Istio.
- No Egress limitations are implemented - all applications deployed in the Kyma cluster can access outside resources without limitations.
- No Egress limitations are implemented - all applications deployed in the Kyma cluster can access outside resources without limitations.
- The self-signed CA certificate's bit length is set to `4096` instead of the default `2048`.
4 changes: 3 additions & 1 deletion internal/istiooperator/istio-operator-light.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ spec:
holdApplicationUntilProxyStarts: true
proxyMetadata:
BOOTSTRAP_XDS_AGENT: "true"
CITADEL_SELF_SIGNED_CA_RSA_KEY_SIZE: "4096"
tracingServiceName: CANONICAL_NAME_ONLY
defaultProviders:
tracing: []
Expand Down Expand Up @@ -315,7 +316,8 @@ spec:
deploymentLabels: null
enableProtocolSniffingForInbound: true
enableProtocolSniffingForOutbound: true
env: {}
env:
CITADEL_SELF_SIGNED_CA_RSA_KEY_SIZE: "4096"
image: pilot
keepaliveMaxServerConnectionAge: 30m
nodeSelector: {}
Expand Down
4 changes: 3 additions & 1 deletion internal/istiooperator/istio-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ spec:
holdApplicationUntilProxyStarts: true
proxyMetadata:
BOOTSTRAP_XDS_AGENT: "true"
CITADEL_SELF_SIGNED_CA_RSA_KEY_SIZE: "4096"
tracingServiceName: CANONICAL_NAME_ONLY
defaultProviders:
tracing: []
Expand Down Expand Up @@ -322,7 +323,8 @@ spec:
deploymentLabels: null
enableProtocolSniffingForInbound: true
enableProtocolSniffingForOutbound: true
env: {}
env:
CITADEL_SELF_SIGNED_CA_RSA_KEY_SIZE: "4096"
image: pilot
keepaliveMaxServerConnectionAge: 30m
nodeSelector: {}
Expand Down
8 changes: 4 additions & 4 deletions internal/istiooperator/istiooperator.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,17 @@ func (m *IstioMerger) GetIstioImageVersion() (IstioImageVersion, error) {
}

func (m *IstioMerger) GetIstioOperator(clusterSize clusterconfig.ClusterSize) (iopv1alpha1.IstioOperator, error) {
var istioOpertor []byte
var istioOperator []byte
switch clusterSize {
case clusterconfig.Production:
istioOpertor = ProductionOperator
istioOperator = ProductionOperator
case clusterconfig.Evaluation:
istioOpertor = EvaluationOperator
istioOperator = EvaluationOperator
default:
return iopv1alpha1.IstioOperator{}, errors.New("unsupported cluster size")
}
toBeInstalledIop := iopv1alpha1.IstioOperator{}
err := yaml.Unmarshal(istioOpertor, &toBeInstalledIop)
err := yaml.Unmarshal(istioOperator, &toBeInstalledIop)
if err != nil {
return iopv1alpha1.IstioOperator{}, err
}
Expand Down

0 comments on commit 1bb2592

Please sign in to comment.