Skip to content

Generating self-signed certificate works again, no more --add-exports + small fixes - #912

Merged
mkurz merged 5 commits into
playframework:mainfrom
mkurz:play-upgrade_self-signed-certs
Sep 27, 2025
Merged

Generating self-signed certificate works again, no more --add-exports + small fixes#912
mkurz merged 5 commits into
playframework:mainfrom
mkurz:play-upgrade_self-signed-certs

Conversation

@mkurz

@mkurz mkurz commented Sep 26, 2025

Copy link
Copy Markdown
Member

{type = "JKS", path = ${user.dir}/conf/selfsigned.keystore}
]
}
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pekko/akka-grpc does not have a ssl-config settings key anymore
Since
apache/pekko-grpc@1c7e655
(see this commit's reference.conf)

Also see current reference.conf:
https://github.com/apache/pekko-grpc/blob/v1.1.1/runtime/src/main/resources/reference.conf

Comment thread scala/tls/README.md
Download SSLyze:

[https://github.com/iSECPartners/sslyze/releases](https://github.com/iSECPartners/sslyze/releases)
[https://github.com/nabla-c0d3/sslyze](https://github.com/nabla-c0d3/sslyze)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The repo moved, see announcement: https://github.com/iSECPartners/sslyze/releases

Comment thread scala/tls/README.md
```bash
cd sslyze-0_9-osx64
python sslyze.py --regular www.example.com:9443
python -m sslyze --mozilla_config intermediate www.example.com:9443

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The --regular flag does not exist anymore:
https://github.com/nabla-c0d3/sslyze/releases/tag/5.0.0

The --mozilla-config option replaces --regular, which has been removed.

Commit: nabla-c0d3/sslyze@1f448d1#commitcomment-85988429

# Do not run docs/paradox currently because sbt-paradox has not upgraded to sbt-web 1.6 yet:
# https://github.com/lightbend/paradox/blob/v0.10.7/plugin/src/main/scala/com/lightbend/paradox/sbt/ParadoxPlugin.scala#L184
# https://github.com/sbt/sbt-web/compare/1.5.8...1.6.0-M1#diff-ce81a99bce20c028fa631b7945b8317c5f614566c0df9ebadd3b3964e9e47817R589
sbt ++$MATRIX_SCALA test # docs/paradox

@mkurz mkurz Sep 26, 2025

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoids exception: https://github.com/playframework/play-samples/actions/runs/18035278653/job/51322857805?pr=912#step:12:140

[error] java.lang.NoSuchMethodError: 'scala.collection.Seq com.typesafe.sbt.web.SbtWeb$.deduplicateMappings(scala.collection.Seq, scala.collection.Seq)'
[error] 	at com.lightbend.paradox.sbt.ParadoxPlugin$.$anonfun$baseParadoxSettings$40(ParadoxPlugin.scala:184)

Needs to be fixed in sbt-paradox and then reverted here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mkurz
mkurz merged commit a799f93 into playframework:main Sep 27, 2025
962 of 963 checks passed
@mkurz
mkurz deleted the play-upgrade_self-signed-certs branch September 27, 2025 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant