[
https://issues.apache.org/jira/browse/BROOKLYN-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16019225#comment-16019225
]
Valentin Aitken commented on BROOKLYN-505:
------------------------------------------
I use Fedora GNU/Linux.
I tested with Oracle JDK and it worked fine without custom settings for JCE.
Launched karaf based Brooklyn with {{JAVA_HOME=/usr/java/latest/jre bin/start}}
and tried the YAML bellow which worked fine.
{noformat}
location:
'jclouds:aws-ec2:eu-central-1':
imageNameRegex: RightImage_CentOS_7.0_x64_v14.2.1_HVM_EBS
services:
- type: org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess
brooklyn.config:
checkRunning.command: echo running
launch.command: echo launch
{noformat}
{noformat}
$ /usr/java/latest/jre/bin/java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
{noformat}
> Amazon provisioning fails with "Illegal key size"
> -------------------------------------------------
>
> Key: BROOKLYN-505
> URL: https://issues.apache.org/jira/browse/BROOKLYN-505
> Project: Brooklyn
> Issue Type: Bug
> Affects Versions: 0.11.0
> Reporter: Svetoslav Neykov
>
> Provisioning to Amazon with minimal location selects the image {{
> RightImage_CentOS_7.0_x64_v14.2.1_HVM_EBS}}. Later provisioning fails with
> {{Exhausted available authentication methods}} error.
> Just before each failure the debug logs show
> {noformat}
> 2017-05-18 12:36:23,551 WARN 73 n.s.s.DefaultConfig [user thread 1] Illegal
> key size
> 2017-05-18 12:36:23,552 WARN 73 n.s.s.DefaultConfig [user thread 1] Illegal
> key size or default parameters
> 2017-05-18 12:36:23,552 WARN 73 n.s.s.DefaultConfig [user thread 1]
> Disabling high-strength ciphers: cipher strengths apparently limited by JCE
> policy
> {noformat}
> The workaround is to install the "high strength ciphers" extension if using
> Oracle Java or move to OpenJDK which has those included.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)