title: No qualifying bean of type 'org.springframework.cloud.bootstrap.encrypt.RsaProperties'
body: <p>I am getting a nosuchbean exception as the title suggests, just adding text here to satisfy the mostly code thing.</p>
  
  <p>Have put unlimited crypto jars in jre\lib\security</p>
  
  <p>Key store created in application at src\main\resources and is called config-server.jks</p>
  
  <p>application.properties (tried both key-stores location prop definitions)</p>
  
  <pre><code>server.port=8888
  spring.cloud.config.server.git.uri=ssh://git@v00bitbucket:7999/proj/config-server.git
  spring.cloud.config.server.git.clone-on-start=true
  security.user.name=Joe
  security.user.password={bcrypt}$2a$10$7H8tnjyf/Mn90eAZADruterXJ.t.GQP4WgRIZ8cwnRsMmhZhCtS1a
  #encrypt.key-store.location=classpath:/config-server.jks
  encrypt.key-store.location=file://C:/myAppDir/config- server/src/main/resources/config-server.jks
  encrypt.key-store.password=my-s70r3-s3cr3t
  encrypt.key-store.alias=config-server-key
  encrypt.key-store.secret=my-k34-s3cr3t
  </code></pre>
  
  <p>using java 1.8.0_77</p>
  
  <pre><code>@RunWith(SpringRunner.class)
  @SpringBootTest
  public class ConfigServerApplicationTests {    
      @Test
      public void contextLoads() {
      }
  }    
  
  
  @SpringBootApplication
  @EnableConfigServer
  public class ConfigServerApplication {
      public static void main(String[] args) {
          SpringApplication.run(ConfigServerApplication.class, args);
      }
  }
  
  @Configuration
  @EnableWebSecurity
  public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
      @Value("${security.user.name}")
      private String authUser;
      @Value("${security.user.password}")
      private String authPassword; // this password is encoded
      @Autowired
      protected void configure(AuthenticationManagerBuilder auth) throws Exception {
          auth.inMemoryAuthentication().passwordEncoder(PasswordEncoderFactories.createDelegatingPasswordEncoder())
          .withUser(authUser).password(authPassword).roles("User");
      }
  
      @Override
      protected void configure(HttpSecurity http) throws Exception {
          http.authorizeRequests().anyRequest().fullyAuthenticated();
          http.httpBasic();
          http.csrf().disable();
      }
  }
  </code></pre>
  
  <p>here is the pom
  {</p>
  
  <pre><code>&lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;2.0.4.RELEASE&lt;/version&gt;
      &lt;relativePath/&gt; &lt;!-- lookup parent from repository --&gt;
  &lt;/parent&gt;
  
  &lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
      &lt;java.version&gt;1.8&lt;/java.version&gt;
      &lt;spring-cloud.version&gt;Finchley.SR1&lt;/spring-cloud.version&gt;
  &lt;/properties&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
          &lt;artifactId&gt;spring-cloud-config-server&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-tomcat&lt;/artifactId&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
          &lt;artifactId&gt;spring-security-config&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
          &lt;artifactId&gt;spring-security-web&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
          &lt;artifactId&gt;spring-security-rsa&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>}</p>