Hi,
i am successfully able to encrypt my config files , but NiFi wont start with new encrypted config files.
Do i have to do anything else after running the encrypt tool utility.?? i dont have a sensitive.key under my conf folder.
it fails too quickly and i see this error in the bootstrap log..no errors in app log.
2017-11-01 14:50:20,390 ERROR [main] org.apache.nifi.bootstrap.Command Other failure relating to setting permissions on C:\nifi\nifi-1.2.0.3.0.2.0-19\.\conf\sensitive.key. (so that only the owner can read it). This is fatal to the bootstrap process for security reasons. Exception was: {}
java.lang.UnsupportedOperationException: 'posix:permissions' not supported as initial attribute
at sun.nio.fs.WindowsSecurityDescriptor.fromAttribute(WindowsSecurityDescriptor.java:358)
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:222)
at java.nio.file.Files.newByteChannel(Files.java:361)
at java.nio.file.Files.createFile(Files.java:632)
at org.apache.nifi.bootstrap.RunNiFi.start(RunNiFi.java:1043)
at org.apache.nifi.bootstrap.RunNiFi.main(RunNiFi.java:219)
Regards,
Sai