Skip to content
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

OsgiManager password should be configurable as well #211

Open
henrykuijpers opened this issue Apr 23, 2020 · 1 comment
Open

OsgiManager password should be configurable as well #211

henrykuijpers opened this issue Apr 23, 2020 · 1 comment

Comments

@henrykuijpers
Copy link
Contributor

The OsgiManager password (part of Adobe Security Checklist) should be configurable as well.

Currently, we're setting it manually at the end of configuration:

      # Just before configuration is finished, we'll set the OSGi admin password as well
      $crx_quickstart_dir = "${instance_config['aem_base']}/aem/${instance_config['type']}/crx-quickstart"
      file { "${crx_quickstart_dir}/install/org.apache.felix.webconsole.internal.servlet.OsgiManager.config":
        ensure => present,
        content => epp('aemprovisioning/aem/osgiconfig/org.apache.felix.webconsole.internal.servlet.OsgiManager.config', {
          password => $instance_config['osgi_admin_password']
        }),
        mode   => '0775',
        owner  => "aem-${instance_config['aem_id']}",
        group  => "aem-${instance_config['aem_id']}",
        before => Exec["${instance_config['aem_id']}: Cleanup password reset package after installation"],
      }
@mbloch1986
Copy link
Contributor

If you are able to set your own OSGI configuration during the AEM configuration, as described here #217, would this solve the issue ?

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

No branches or pull requests

2 participants